File tree 2 files changed +10
-9
lines changed
2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 15
15
},
16
16
"devDependencies" : {
17
17
"gulp" : " ^3.9.0" ,
18
- "gulp-connect" : " * " ,
18
+ "gulp-connect" : " ^5.7.0 " ,
19
19
"gulp-coveralls" : " ^0.1.4" ,
20
- "gulp-istanbul" : " ^0.10.3 " ,
21
- "gulp-jshint" : " ^2.0 .0" ,
20
+ "gulp-istanbul" : " ^0.10.4 " ,
21
+ "gulp-jshint" : " ^2.1 .0" ,
22
22
"gulp-mocha" : " ^2.2.0" ,
23
23
"gulp-mocha-phantomjs" : " ^0.10.1" ,
24
24
"jshint" : " ^2.8.0" ,
Original file line number Diff line number Diff line change 4
4
< title > Test: Mock</ title >
5
5
< meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 ">
6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
- < link href ="./bower_components/ mocha/mocha.css " rel ="stylesheet ">
7
+ < link href ="https://unpkg.com/ mocha@3.x /mocha.css " rel ="stylesheet ">
8
8
< style type ="text/css ">
9
9
li .test h2 {
10
10
font-family : monospace;
16
16
< body >
17
17
< div id ="mocha "> </ div >
18
18
<!-- Include local Mocha. -->
19
- < script src ="./bower_components/ mocha/mocha.js "> </ script >
20
- < script src ="./bower_components/ chai/chai.js "> </ script >
19
+ < script src ="https://unpkg.com/ mocha@3.x /mocha.js "> </ script >
20
+ < script src ="https://unpkg.com/ chai@4.2.0 /chai.js "> </ script >
21
21
< script > mocha . setup ( 'bdd' ) </ script >
22
22
<!-- Include RequireJS -->
23
- < script src ="./bower_components/ requirejs/require.js "> </ script >
23
+ < script src ="https://unpkg.com/ requirejs@2.x /require.js "> </ script >
24
24
< script type ="text/javascript ">
25
+ window . require = window . requirejs ;
25
26
require . config ( {
26
27
paths : {
27
28
'mock' : '../dist/mock' ,
28
- jquery : 'bower_components/ jquery/dist/jquery' ,
29
- underscore : 'bower_components/ underscore/underscore'
29
+ jquery : 'https://unpkg.com/ jquery@2.2.4 /dist/jquery' ,
30
+ underscore : 'https://unpkg.com/ underscore@1.9.1 /underscore'
30
31
}
31
32
} )
32
33
</ script >
You can’t perform that action at this time.
0 commit comments