mirror of https://github.com/lukechilds/rollup.git
52 changed files with 92 additions and 92 deletions
@ -1,11 +1,11 @@ |
|||||
(function (global, factory) { |
(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
||||
typeof define === 'function' && define.amd ? define(factory) : |
typeof define === 'function' && define.amd ? define(factory) : |
||||
global.myBundle = factory(); |
(global.myBundle = factory()); |
||||
}(this, function () { 'use strict'; |
}(this, function () { 'use strict'; |
||||
|
|
||||
var bar = 1; |
var bar = 1; |
||||
|
|
||||
return bar; |
return bar; |
||||
|
|
||||
})); |
})); |
@ -1,11 +1,11 @@ |
|||||
(function (global, factory) { |
(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
||||
typeof define === 'function' && define.amd ? define(factory) : |
typeof define === 'function' && define.amd ? define(factory) : |
||||
global.myBundle = factory(); |
(global.myBundle = factory()); |
||||
}(this, function () { 'use strict'; |
}(this, function () { 'use strict'; |
||||
|
|
||||
var bar = 1; |
var bar = 1; |
||||
|
|
||||
return bar; |
return bar; |
||||
|
|
||||
})); |
})); |
@ -1,11 +1,11 @@ |
|||||
(function (global, factory) { |
(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
||||
typeof define === 'function' && define.amd ? define(factory) : |
typeof define === 'function' && define.amd ? define(factory) : |
||||
global.myBundle = factory(); |
(global.myBundle = factory()); |
||||
}(this, function () { 'use strict'; |
}(this, function () { 'use strict'; |
||||
|
|
||||
var main = 42; |
var main = 42; |
||||
|
|
||||
return main; |
return main; |
||||
|
|
||||
})); |
})); |
@ -1,11 +1,11 @@ |
|||||
(function (global, factory) { |
(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
||||
typeof define === 'function' && define.amd ? define(factory) : |
typeof define === 'function' && define.amd ? define(factory) : |
||||
factory(); |
(factory()); |
||||
}(this, function () { 'use strict'; |
}(this, function () { 'use strict'; |
||||
|
|
||||
/* this is an intro */ |
/* this is an intro */ |
||||
console.log( 'hello world' ); |
console.log( 'hello world' ); |
||||
/* this is an outro */ |
/* this is an outro */ |
||||
|
|
||||
})); |
})); |
@ -1,11 +1,11 @@ |
|||||
(function (global, factory) { |
(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
||||
typeof define === 'function' && define.amd ? define(factory) : |
typeof define === 'function' && define.amd ? define(factory) : |
||||
factory(); |
(factory()); |
||||
}(this, function () { 'use strict'; |
}(this, function () { 'use strict'; |
||||
|
|
||||
function a () {} |
function a () {} |
||||
|
|
||||
a(); |
a(); |
||||
|
|
||||
})); |
})); |
@ -1,11 +1,11 @@ |
|||||
(function (global, factory) { |
(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
||||
typeof define === 'function' && define.amd ? define(factory) : |
typeof define === 'function' && define.amd ? define(factory) : |
||||
global.foo = global.foo || {}, global.foo.bar = global.foo.bar || {}, global.foo.bar.baz = factory(); |
(global.foo = global.foo || {}, global.foo.bar = global.foo.bar || {}, global.foo.bar.baz = factory()); |
||||
}(this, function () { 'use strict'; |
}(this, function () { 'use strict'; |
||||
|
|
||||
var main = 42; |
var main = 42; |
||||
|
|
||||
return main; |
return main; |
||||
|
|
||||
})); |
})); |
@ -1,11 +1,11 @@ |
|||||
(function (global, factory) { |
(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : |
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : |
||||
typeof define === 'function' && define.amd ? define(['exports'], factory) : |
typeof define === 'function' && define.amd ? define(['exports'], factory) : |
||||
factory((global.foo = global.foo || {}, global.foo.bar = global.foo.bar || {}, global.foo.bar.baz = {})); |
(factory((global.foo = global.foo || {}, global.foo.bar = global.foo.bar || {}, global.foo.bar.baz = {}))); |
||||
}(this, function (exports) { 'use strict'; |
}(this, function (exports) { 'use strict'; |
||||
|
|
||||
var answer = 42; |
var answer = 42; |
||||
|
|
||||
exports.answer = answer; |
exports.answer = answer; |
||||
|
|
||||
})); |
})); |
@ -1,9 +1,9 @@ |
|||||
(function (global, factory) { |
(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
||||
typeof define === 'function' && define.amd ? define(factory) : |
typeof define === 'function' && define.amd ? define(factory) : |
||||
factory(); |
(factory()); |
||||
}(this, function () { 'use strict'; |
}(this, function () { 'use strict'; |
||||
|
|
||||
console.log( 'this is it' ); |
console.log( 'this is it' ); |
||||
|
|
||||
})); |
})); |
@ -1,11 +1,11 @@ |
|||||
(function (global, factory) { |
(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
||||
typeof define === 'function' && define.amd ? define(factory) : |
typeof define === 'function' && define.amd ? define(factory) : |
||||
global.myBundle = factory(); |
(global.myBundle = factory()); |
||||
}(this, function () { 'use strict'; |
}(this, function () { 'use strict'; |
||||
|
|
||||
var main = 42; |
var main = 42; |
||||
|
|
||||
return main; |
return main; |
||||
|
|
||||
})); |
})); |
@ -1,11 +1,11 @@ |
|||||
(function (global, factory) { |
(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
||||
typeof define === 'function' && define.amd ? define(factory) : |
typeof define === 'function' && define.amd ? define(factory) : |
||||
global.myBundle = factory(); |
(global.myBundle = factory()); |
||||
}(this, function () { 'use strict'; |
}(this, function () { 'use strict'; |
||||
|
|
||||
var main = 42; |
var main = 42; |
||||
|
|
||||
return main; |
return main; |
||||
|
|
||||
})); |
})); |
@ -1,11 +1,11 @@ |
|||||
(function (global, factory) { |
(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
||||
typeof define === 'function' && define.amd ? define(factory) : |
typeof define === 'function' && define.amd ? define(factory) : |
||||
global.myBundle = factory(); |
(global.myBundle = factory()); |
||||
}(this, function () { 'use strict'; |
}(this, function () { 'use strict'; |
||||
|
|
||||
var main = 42; |
var main = 42; |
||||
|
|
||||
return main; |
return main; |
||||
|
|
||||
})); |
})); |
@ -1,11 +1,11 @@ |
|||||
(function (global, factory) { |
(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
||||
typeof define === 'function' && define.amd ? define(factory) : |
typeof define === 'function' && define.amd ? define(factory) : |
||||
global.myBundle = factory(); |
(global.myBundle = factory()); |
||||
}(this, function () { 'use strict'; |
}(this, function () { 'use strict'; |
||||
|
|
||||
var main = 42; |
var main = 42; |
||||
|
|
||||
return main; |
return main; |
||||
|
|
||||
})); |
})); |
@ -1,9 +1,9 @@ |
|||||
(function (global, factory) { |
(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
||||
typeof define === 'function' && define.amd ? define(factory) : |
typeof define === 'function' && define.amd ? define(factory) : |
||||
factory(); |
(factory()); |
||||
}(this, function () { 'use strict'; |
}(this, function () { 'use strict'; |
||||
|
|
||||
|
|
||||
|
|
||||
})); |
})); |
@ -1,11 +1,11 @@ |
|||||
(function (global, factory) { |
(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
||||
typeof define === 'function' && define.amd ? define(factory) : |
typeof define === 'function' && define.amd ? define(factory) : |
||||
factory(); |
(factory()); |
||||
}(this, function () { 'use strict'; |
}(this, function () { 'use strict'; |
||||
|
|
||||
var foo = 42; |
var foo = 42; |
||||
|
|
||||
assert.equal( foo, 42 ); |
assert.equal( foo, 42 ); |
||||
|
|
||||
})); |
})); |
@ -1,11 +1,11 @@ |
|||||
(function (global, factory) { |
(function (global, factory) { |
||||
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
typeof exports === 'object' && typeof module !== 'undefined' ? factory() : |
||||
typeof define === 'function' && define.amd ? define(factory) : |
typeof define === 'function' && define.amd ? define(factory) : |
||||
factory(); |
(factory()); |
||||
}(this, function () { 'use strict'; |
}(this, function () { 'use strict'; |
||||
|
|
||||
function x () { return 'x' }; |
function x () { return 'x' }; |
||||
|
|
||||
assert.equal( x(), 'x' ); |
assert.equal( x(), 'x' ); |
||||
|
|
||||
})); |
})); |
Loading…
Reference in new issue