feature(bower) load v1.1.3

This commit is contained in:
coderaiser 2015-01-15 09:58:03 -05:00
parent 59c71cf5c0
commit 4a50e8bff0
5 changed files with 23 additions and 10 deletions

View file

@ -1,7 +1,7 @@
{
"name": "load",
"main": "load.js",
"version": "1.1.2",
"version": "1.1.3",
"description": "Dynamically loading external JavaScript and CSS files",
"homepage": "https://github.com/coderaiser/load.js",
"authors": [
@ -13,15 +13,16 @@
"keywords": [
"load"
],
"ignore": [],
"license": "MIT",
"_release": "1.1.2",
"_release": "1.1.3",
"_resolution": {
"type": "version",
"tag": "v1.1.2",
"commit": "967bd65c6b5af21da3d85ea4a2144014a28eee39"
"tag": "v1.1.3",
"commit": "a888f78f5634e8b93b98863d51ab530957413fbc"
},
"_source": "git://github.com/coderaiser/load.js.git",
"_target": "~1.1.2",
"_target": "~1.1.3",
"_originalSource": "load",
"_direct": true
}

1
modules/load/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
npm-debug.log

View file

@ -1,3 +1,13 @@
2015.01.15, v1.1.3
fix:
- (load) parallel: add done
feature:
- (bower) add ignore
- (gitignore) add
2015.01.13, v1.1.2
feature:

View file

@ -1,7 +1,7 @@
{
"name": "load",
"main": "load.js",
"version": "1.1.2",
"version": "1.1.3",
"description": "Dynamically loading external JavaScript and CSS files",
"homepage": "https://github.com/coderaiser/load.js",
"authors": [
@ -13,5 +13,6 @@
"keywords": [
"load"
],
"ignore": [],
"license": "MIT"
}

View file

@ -118,14 +118,14 @@
load.parallel = function(urls, callback) {
var i = urls.length,
done,
func = function(error) {
--i;
if (error)
i = 0;
if (!i)
if (!i && !done || error) {
done = true;
callback(error);
}
};
urls.forEach(function(url) {