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.
11 lines
347 B
11 lines
347 B
9 years ago
|
(function (global, factory) {
|
||
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('foo'), require('bar')) :
|
||
|
typeof define === 'function' && define.amd ? define(['foo', 'bar'], factory) :
|
||
|
(factory(global.foo,global.bar));
|
||
|
}(this, function (foo,bar) { 'use strict';
|
||
|
|
||
|
console.log( bar.a );
|
||
|
|
||
|
console.log( foo.a );
|
||
|
|
||
|
}));
|