Skip to content

Commit

Permalink
2.1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp committed Nov 29, 2018
1 parent 367badb commit 6284000
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "steal",
"description": "Gets JavaScript.",
"version": "2.1.9",
"version": "2.1.10",
"author": {
"name": "Bitovi",
"email": "contact@bitovi.com",
Expand Down
2 changes: 1 addition & 1 deletion steal-with-promises.production.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions steal.js
Expand Up @@ -2639,9 +2639,9 @@ function core(loader) {
* load.metadata.some = 'meta' will now be set on the load record.
*
* The same meta could be set with a my/module.js file containing:
*
*
* my/module.js
* "some meta";
* "some meta";
* "another meta";
* console.log('this is my/module');
*
Expand All @@ -2661,7 +2661,7 @@ function core(loader) {
*
* "format amd";
* define(...);
*
*
*/

function meta(loader) {
Expand Down Expand Up @@ -2698,7 +2698,7 @@ function meta(loader) {
var firstChar = metaParts[i].substr(0, 1);
if (metaParts[i].substr(len - 1, 1) == ';')
len--;

if (firstChar != '"' && firstChar != "'")
continue;

Expand All @@ -2717,7 +2717,7 @@ function meta(loader) {
}
// config meta overrides
setConfigMeta(this, load);

return loaderTranslate.call(this, load);
}
}
Expand Down Expand Up @@ -4541,10 +4541,10 @@ function bundles(loader) {

/*
* Dependency Tree Cache
*
* Allows a build to pre-populate a dependency trace tree on the loader of
*
* Allows a build to pre-populate a dependency trace tree on the loader of
* the expected dependency tree, to be loaded upfront when requesting the
* module, avoinding the n round trips latency of module loading, where
* module, avoinding the n round trips latency of module loading, where
* n is the dependency tree depth.
*
* eg:
Expand All @@ -4553,8 +4553,8 @@ function bundles(loader) {
* 'normalized': ['another'],
* 'deps': ['tree']
* };
*
* System.import('app')
*
* System.import('app')
* // simultaneously starts loading all of:
* // 'normalized', 'deps', 'another', 'tree'
* // before "app" source is even loaded
Expand All @@ -4581,7 +4581,7 @@ function depCache(loader) {
return loaderLocate.call(loader, load);
}
}


core(System);
meta(System);
Expand Down
2 changes: 1 addition & 1 deletion steal.production.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/steal-with-promises.production.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6284000

Please sign in to comment.