mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-25 17:04:16 +00:00
feature(bower) load v1.1.3
This commit is contained in:
parent
59c71cf5c0
commit
4a50e8bff0
5 changed files with 23 additions and 10 deletions
|
|
@ -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
1
modules/load/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
npm-debug.log
|
||||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue