mirror of https://github.com/lukechilds/rollup.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
654 B
25 lines
654 B
9 years ago
|
(function (global, factory) {
|
||
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
||
|
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
||
|
(function() {
|
||
|
var current = global.FooBar;
|
||
|
var exports = factory((global.FooBar = global.FooBar || {}));
|
||
|
global.FooBar = exports;
|
||
|
exports.noConflict = function() { global.FooBar = current; return exports; };
|
||
|
})();
|
||
|
}(this, function (exports) { 'use strict';
|
||
|
|
||
|
function doThings() {
|
||
|
console.log( 'doing things...' );
|
||
|
}
|
||
|
|
||
|
const number = 42;
|
||
|
|
||
|
var setting = 'no';
|
||
|
|
||
|
exports.doThings = doThings;
|
||
|
exports.number = number;
|
||
|
exports.setting = setting;
|
||
|
|
||
|
}));
|