Skip to content

Commit 33227d6

Browse files
committed
normalize on no returns so build test passes in rhino
1 parent e183eda commit 33227d6

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/plugins/defaultPrefix/a.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
a.txt
1+
a.txt

tests/plugins/defaultPrefix/b.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
b.txt
1+
b.txt

tests/plugins/defaultPrefix/built/defaultPrefix-tests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ define('plain',{
55
});
66

77
define('text',{load: function(id){throw new Error("Dynamic load not allowed: " + id);}});
8-
define('text!b.txt',[],function () { return 'b.txt\n';});
8+
define('text!b.txt',[],function () { return 'b.txt';});
99

1010
define('refine!b',['!plain', 'text!b.txt'], function (plain, text) {
1111
return {
@@ -22,7 +22,7 @@ define('refine!c',['b'], function (b) {
2222
};
2323
});
2424

25-
define('text!a.txt',[],function () { return 'a.txt\n';});
25+
define('text!a.txt',[],function () { return 'a.txt';});
2626

2727
//The refine plugin changes the word refine into define.
2828
define('refine!a',['refine!b', 'c', '!plain', 'text!a.txt'],

0 commit comments

Comments
 (0)