mirror of https://github.com/lukechilds/rollup.git
5 changed files with 2 additions and 26 deletions
@ -1,6 +1,6 @@ |
|||||
import Foo from './foo'; |
import Foo from './foo'; |
||||
import bar from './bar'; |
import bar from './bar'; |
||||
|
|
||||
const baz = Foo.baz(); |
var baz = Foo.baz(); |
||||
assert.ok( baz.isBaz ); |
assert.ok( baz.isBaz ); |
||||
assert.ok( bar().inheritsFromBaz ); |
assert.ok( bar().inheritsFromBaz ); |
@ -1,11 +0,0 @@ |
|||||
import Enumerator from './enumerator'; |
|
||||
import Promise from './promise'; |
|
||||
|
|
||||
function AllSettled () {} |
|
||||
|
|
||||
AllSettled.prototype = o_create(Enumerator.prototype); |
|
||||
AllSettled.prototype._superConstructor = Enumerator; |
|
||||
|
|
||||
export default function allSettled(entries, label) { |
|
||||
return new AllSettled(); |
|
||||
} |
|
@ -1,3 +0,0 @@ |
|||||
function Enumerator () {} |
|
||||
|
|
||||
export default Enumerator; |
|
@ -1,5 +0,0 @@ |
|||||
import all from './promise/all'; |
|
||||
|
|
||||
export default function Promise () {} |
|
||||
|
|
||||
Promise.all = all; |
|
@ -1,5 +0,0 @@ |
|||||
import Enumerator from '../enumerator'; |
|
||||
|
|
||||
export default function all () { |
|
||||
return new Enumerator(); |
|
||||
} |
|
Loading…
Reference in new issue