Vulnerable components draft, fixed missing properties in httpbasics when user input was empty

This commit is contained in:
mayhew64
2017-02-07 16:05:30 -05:00
parent 85ef7ee1a4
commit b4159385c1
29 changed files with 15354 additions and 168 deletions

View File

@ -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,

File diff suppressed because it is too large Load Diff

View File

@ -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();
});