Skip to content
This repository has been archived by the owner on Jul 31, 2018. It is now read-only.

Commit

Permalink
rename FillImports to ImportDeclarationInstantiation to be closer to …
Browse files Browse the repository at this point in the history
…ES spec
  • Loading branch information
bmeck committed Jan 8, 2016
1 parent 56eaad8 commit 847c17f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 002-es6-modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,15 +236,15 @@ class SourceTextModule : Script, Module {
//
// this will add the bindings to the lexical environment of
// the Module
FillImports(ImportBinding[] bindings);
ImportDeclarationInstantiation(ImportBinding[] bindings);
}

class DynamicModule : Module {
// in order for CommonJS modules to create fully formed
// ES6 Module compatibility we need to hook up a static
// View of an Object to set as our exports
//
// think of this as calling FillImports using the current
// think of this as calling ImportDeclarationInstantiation using the current
// properties of an object, enumerable or not.
//
// exports are never added or removed from the Module even
Expand Down

0 comments on commit 847c17f

Please sign in to comment.