Browse Source

Swapped names

gh-109
Oskar Segersvärd 10 years ago
parent
commit
6f44df5bbe
  1. 8
      test/form/internal-conflict-resolution/_expected/amd.js
  2. 8
      test/form/internal-conflict-resolution/_expected/cjs.js
  3. 8
      test/form/internal-conflict-resolution/_expected/es6.js
  4. 8
      test/form/internal-conflict-resolution/_expected/iife.js
  5. 8
      test/form/internal-conflict-resolution/_expected/umd.js

8
test/form/internal-conflict-resolution/_expected/amd.js

@ -1,15 +1,15 @@
define(function () { 'use strict'; define(function () { 'use strict';
var _bar = 42; var bar = 42;
function foo () { function foo () {
return _bar; return bar;
} }
function bar () { function _bar () {
alert( foo() ); alert( foo() );
} }
bar(); _bar();
}); });

8
test/form/internal-conflict-resolution/_expected/cjs.js

@ -1,13 +1,13 @@
'use strict'; 'use strict';
var _bar = 42; var bar = 42;
function foo () { function foo () {
return _bar; return bar;
} }
function bar () { function _bar () {
alert( foo() ); alert( foo() );
} }
bar(); _bar();

8
test/form/internal-conflict-resolution/_expected/es6.js

@ -1,11 +1,11 @@
var _bar = 42; var bar = 42;
function foo () { function foo () {
return _bar; return bar;
} }
function bar () { function _bar () {
alert( foo() ); alert( foo() );
} }
bar(); _bar();

8
test/form/internal-conflict-resolution/_expected/iife.js

@ -1,15 +1,15 @@
(function () { 'use strict'; (function () { 'use strict';
var _bar = 42; var bar = 42;
function foo () { function foo () {
return _bar; return bar;
} }
function bar () { function _bar () {
alert( foo() ); alert( foo() );
} }
bar(); _bar();
})(); })();

8
test/form/internal-conflict-resolution/_expected/umd.js

@ -4,16 +4,16 @@
factory(); factory();
}(this, function () { 'use strict'; }(this, function () { 'use strict';
var _bar = 42; var bar = 42;
function foo () { function foo () {
return _bar; return bar;
} }
function bar () { function _bar () {
alert( foo() ); alert( foo() );
} }
bar(); _bar();
})); }));

Loading…
Cancel
Save