Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 1166605

Browse files
committed
baseKey remove
1 parent d9636ce commit 1166605

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Any tool can be used to build the loader distribution file from these core modul
4949

5050
The `Loader` and `ModuleNamespace` classes in `core/loader-polyfill.js` provide the basic spec API method shells for a loader instance `loader`:
5151

52-
- *`new Loader(baseKey)`*: Instantiate a new `loader` instance, with the given `baseKey` as the default parentKey for normalizations.
52+
- *`new Loader()`*: Instantiate a new `loader` instance.
5353
Defaults to environment baseURI detection in NodeJS and browsers.
5454
- *`loader.import(key [, parentKey])`*: Promise for importing and executing a given module, returning its module instance.
5555
- *`loader.resolve(key [, parentKey])`*: Promise for resolving the idempotent fully-normalized string key for a module.
@@ -213,7 +213,7 @@ This is identical to the `System.register` process above, only running `loader.r
213213
this.registerDynamic(['dep'], function (require, exports, module) {
214214
module.exports = require('dep').y;
215215
});
216-
216+
217217
processAnonRegister();
218218
}
219219
```

0 commit comments

Comments
 (0)