Files
WebGoat/webgoat-container/src/main/resources/static/js/goatApp/controller/MenuController.js
Nanne Baars e2cb9ceae0 Re-institute admin functionality for WebGoat 8
- Report card functionality is back
2016-12-31 18:27:20 +01:00

20 lines
376 B
JavaScript

define(['jquery',
'underscore',
'backbone',
'goatApp/view/MenuView'
],
function($,
_,
Backbone,
MenuView) {
Controller = function(options){
_.extend(Controller.prototype,Backbone.Events);
options = options || {};
this.menuView = options.menuView;
this.updateMenu = function(){
this.menuView.updateMenu();
}
};
return Controller;
});