Skip to content

Commit

Permalink
Update some tests used by the r.js optimizer.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrburke committed May 26, 2012
1 parent 7b0d569 commit 025ea49
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/universal/universal-tests-built-expected.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

!function (name, definition) {
if (typeof module != 'undefined') module.exports = definition()
else if (typeof define == 'function' && typeof define.amd == 'object') define('tail',[], function(){return definition()})
else if (typeof define == 'function' && typeof define.amd == 'object') define('tail', function(){return definition()})
else this[name] = definition()
}('tail', function() {
return {
Expand Down Expand Up @@ -61,7 +61,7 @@ define("eye", function(){});
//The 'id' is optional, but recommended if this is
//a popular web library that is used mostly in
//non-AMD/Node environments.
define('spell',['require','newt'], function (require) {
define('spell', function (require) {
//If have dependencies, get them here
var newt = require('newt');

Expand Down
4 changes: 2 additions & 2 deletions tests/universal/universal-tests-built.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

!function (name, definition) {
if (typeof module != 'undefined') module.exports = definition()
else if (typeof define == 'function' && typeof define.amd == 'object') define('tail',[], function(){return definition()})
else if (typeof define == 'function' && typeof define.amd == 'object') define('tail', function(){return definition()})
else this[name] = definition()
}('tail', function() {
return {
Expand Down Expand Up @@ -61,7 +61,7 @@ define("eye", function(){});
//The 'id' is optional, but recommended if this is
//a popular web library that is used mostly in
//non-AMD/Node environments.
define('spell',['require','newt'], function (require) {
define('spell', function (require) {
//If have dependencies, get them here
var newt = require('newt');

Expand Down

0 comments on commit 025ea49

Please sign in to comment.