From 575c9406557734f89fd6489de0074e5f9294da6c Mon Sep 17 00:00:00 2001 From: Jason White Date: Thu, 18 Feb 2016 21:26:32 -0500 Subject: [PATCH] #180, clean up --- .../main/webapp/js/goatApp/view/HelpControlsView.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/webgoat-container/src/main/webapp/js/goatApp/view/HelpControlsView.js b/webgoat-container/src/main/webapp/js/goatApp/view/HelpControlsView.js index e9c354ce3..2a3e6da6b 100644 --- a/webgoat-container/src/main/webapp/js/goatApp/view/HelpControlsView.js +++ b/webgoat-container/src/main/webapp/js/goatApp/view/HelpControlsView.js @@ -4,14 +4,7 @@ define(['jquery', function($,_,Backbone) { return Backbone.View.extend({ el:'#help-controls', //Check this -// helpButtons: { -// //TODO: move this into a template -// showSource:, -// showSolution:, -// showPlan:, -// showHints:, -// restartLesson: -// }, + initialize: function (options) { if (!options) { return; @@ -21,6 +14,7 @@ function($,_,Backbone) { this.hasSource = options.hasSource; this.hasHints = options.hasHints; }, + render:function(title) { //this.$el.html(); // if still showing, hide