Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
define(["coccyx", "handlebars", "templates", "common", "bootstrap"], function(Coccyx, Handlebars){
"use strict";
return {
name: "documentation",
template: Handlebars.templates["documentation.tmpl"],
domTarget: "#content",
activeMenu: "/documentation",
render: function(){
Coccyx.userspace.common.setMenuItemActive(this.activeMenu);
this.$(this.domTarget).html(this.template());
}
};
});