File tree Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Expand file tree Collapse file tree 3 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 12
12
< script type ="text/javascript ">
13
13
seajs . config ( {
14
14
alias : {
15
- '$' : 'jquery/jquery/1.7.2/jquery'
15
+ '$' : 'jquery/jquery/1.7.2/jquery' ,
16
+ 'jquery' : 'jquery/jquery/1.7.2/jquery'
16
17
} ,
17
18
map : [
18
19
function ( url ) {
Original file line number Diff line number Diff line change
1
+ define ( function ( require ) {
2
+ var module = require ( './dist/respond' ) ;
3
+ describe ( 'respond' , function ( ) {
4
+ it ( 'should have window.respond' , function ( ) {
5
+ expect ( window . respond ) . to . be . a ( 'object' ) ;
6
+ expect ( window . respond . update ) . to . be . a ( 'function' ) ;
7
+ } ) ;
8
+ } ) ;
9
+ } ) ;
Original file line number Diff line number Diff line change
1
+ define ( function ( require ) {
2
+ var module = require ( './dist/scrollmonitor' ) ;
3
+ describe ( 'scrollmonitor' , function ( ) {
4
+ it ( 'should have create function' , function ( ) {
5
+ expect ( module ) . to . be . a ( 'object' ) ;
6
+ expect ( module . create ) . to . be . a ( 'function' ) ;
7
+ } ) ;
8
+ } ) ;
9
+ } ) ;
You can’t perform that action at this time.
0 commit comments