From 7d28e9c1b883b70a01bbc0222c1c37b59df168ae Mon Sep 17 00:00:00 2001 From: Jason White Date: Mon, 21 Nov 2016 13:18:38 -0500 Subject: [PATCH] bring jquery into custom namespace ... simple hack for now --- .../src/main/resources/static/js/goatApp/view/GoatRouter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webgoat-container/src/main/resources/static/js/goatApp/view/GoatRouter.js b/webgoat-container/src/main/resources/static/js/goatApp/view/GoatRouter.js index 2a6079e2c..41301bb1a 100644 --- a/webgoat-container/src/main/resources/static/js/goatApp/view/GoatRouter.js +++ b/webgoat-container/src/main/resources/static/js/goatApp/view/GoatRouter.js @@ -41,6 +41,7 @@ define(['jquery', // this.menuController.initMenu(); webgoat = {}; webgoat.customjs = {}; + webgoat.customjs.jquery = $; // goatRouter.on('route:attackRoute', function(scr,menu,stage,num) { // this.lessonController.loadLesson(scr,menu,stage,num);