Vulnerable components draft, fixed missing properties in httpbasics when user input was empty
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
define(['jquery',
|
||||
'libs/jquery-vuln',
|
||||
'jqueryui',
|
||||
'underscore',
|
||||
'backbone',
|
||||
'goatApp/controller/LessonController',
|
||||
@ -10,6 +11,7 @@ define(['jquery',
|
||||
'goatApp/view/TitleView'
|
||||
], function ($,
|
||||
$vuln,
|
||||
jqueryui,
|
||||
_,
|
||||
Backbone,
|
||||
LessonController,
|
||||
|
15005
webgoat-container/src/main/resources/static/js/libs/jquery-ui-1.10.4.js
vendored
Normal file
15005
webgoat-container/src/main/resources/static/js/libs/jquery-ui-1.10.4.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -14,6 +14,7 @@ require.config({
|
||||
baseUrl: "js/",
|
||||
paths: {
|
||||
jquery: 'libs/jquery-2.2.4.min',
|
||||
jqueryui: 'libs/jquery-ui-1.10.4',
|
||||
underscore: 'libs/underscore-min',
|
||||
backbone: 'libs/backbone-min',
|
||||
text: 'libs/text',
|
||||
@ -27,6 +28,10 @@ require.config({
|
||||
},
|
||||
|
||||
shim: {
|
||||
"jqueryui": {
|
||||
exports:"$",
|
||||
deps: ['jquery']
|
||||
},
|
||||
underscore: {
|
||||
exports: "_"
|
||||
},
|
||||
@ -37,6 +42,6 @@ require.config({
|
||||
}
|
||||
});
|
||||
|
||||
require(['jquery','libs/jquery-base','libs/jquery-vuln','underscore','backbone','goatApp/goatApp'], function($,jqueryBase,jqueryVuln,_,Backbone,Goat){
|
||||
require(['jquery','libs/jquery-base','libs/jquery-vuln','jqueryui', 'underscore','backbone','goatApp/goatApp'], function($,jqueryBase,jqueryVuln,jqueryui,_,Backbone,Goat){
|
||||
Goat.initApp();
|
||||
});
|
Reference in New Issue
Block a user