File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1011
1011
1012
1012
/*--------------------------------------------------------------------------*/
1013
1013
1014
- // expose platform
1014
+ // export platform
1015
1015
// some AMD build optimizers, like r.js, check for condition patterns like the following:
1016
1016
if ( typeof define == 'function' && typeof define . amd == 'object' && define . amd ) {
1017
1017
// define as an anonymous module so, through path mapping, it can be aliased
1021
1021
}
1022
1022
// check for `exports` after `define` in case a build optimizer adds an `exports` object
1023
1023
else if ( freeExports && freeModule ) {
1024
- // in Narwhal, Node.js, RingoJS, or Rhino -require
1024
+ // in Narwhal, Node.js, Rhino -require, or RingoJS
1025
1025
forOwn ( parse ( ) , function ( value , key ) {
1026
1026
freeExports [ key ] = value ;
1027
1027
} ) ;
Original file line number Diff line number Diff line change 1
1
cd " $( dirname " $0 " ) "
2
+
2
3
for cmd in rhino " rhino -require" narwhal ringo phantomjs node; do
3
- echo " "
4
- echo " Testing in $cmd ... "
5
- $cmd test.js
4
+ echo " Testing in $cmd ... "
5
+ $cmd test.js
6
+ echo " "
6
7
done
7
- echo " "
8
+
8
9
echo " Testing in a browser..."
9
10
open index.html
Original file line number Diff line number Diff line change 581
581
582
582
/*--------------------------------------------------------------------------*/
583
583
584
- // expose QUnit extras
584
+ // export QUnit Extras
585
585
if ( freeExports ) {
586
586
freeExports . runInContext = runInContext ;
587
587
} else {
You can’t perform that action at this time.
0 commit comments