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.
29 lines
506 B
29 lines
506 B
(function (global, factory) {
|
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory() :
|
|
typeof define === 'function' && define.amd ? define(factory) :
|
|
factory();
|
|
}(this, function () { 'use strict';
|
|
|
|
function x () {
|
|
return 'foo';
|
|
}
|
|
|
|
var foo = { x };
|
|
|
|
function x$1 () {
|
|
return 'bar';
|
|
}
|
|
|
|
var bar = { x: x$1 };
|
|
|
|
function x$2 () {
|
|
return 'baz';
|
|
}
|
|
|
|
var baz = { x: x$2 };
|
|
|
|
assert.equal( foo.x(), 'foo' );
|
|
assert.equal( bar.x(), 'bar' );
|
|
assert.equal( baz.x(), 'baz' );
|
|
|
|
}));
|
|
|