Skip to content

Commit fba9220

Browse files
committed
Minor comment and formatting nits for consistency across projects. [ci skip]
1 parent 664e7f8 commit fba9220

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

platform.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@
10111011

10121012
/*--------------------------------------------------------------------------*/
10131013

1014-
// expose platform
1014+
// export platform
10151015
// some AMD build optimizers, like r.js, check for condition patterns like the following:
10161016
if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {
10171017
// define as an anonymous module so, through path mapping, it can be aliased
@@ -1021,7 +1021,7 @@
10211021
}
10221022
// check for `exports` after `define` in case a build optimizer adds an `exports` object
10231023
else if (freeExports && freeModule) {
1024-
// in Narwhal, Node.js, RingoJS, or Rhino -require
1024+
// in Narwhal, Node.js, Rhino -require, or RingoJS
10251025
forOwn(parse(), function(value, key) {
10261026
freeExports[key] = value;
10271027
});

test/run-test.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
cd "$(dirname "$0")"
2+
23
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 ""
67
done
7-
echo ""
8+
89
echo "Testing in a browser..."
910
open index.html

vendor/qunit-extras/qunit-extras.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@
581581

582582
/*--------------------------------------------------------------------------*/
583583

584-
// expose QUnit extras
584+
// export QUnit Extras
585585
if (freeExports) {
586586
freeExports.runInContext = runInContext;
587587
} else {

0 commit comments

Comments
 (0)