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