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.
22 lines
266 B
22 lines
266 B
9 years ago
|
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' );
|