Comparing version 0.4.13 to 0.4.14
@@ -33,3 +33,3 @@ // Generated by CoffeeScript 1.3.3 | ||
fn = fnList[_i]; | ||
_results.push(fn(index)); | ||
_results.push(typeof fn === "function" ? fn(index) : void 0); | ||
} | ||
@@ -170,5 +170,9 @@ return _results; | ||
Collection.prototype.removeAll = function() { | ||
return this.remove(function() { | ||
return true; | ||
}); | ||
if (this.length > 0) { | ||
return this.remove(function() { | ||
return true; | ||
}); | ||
} else { | ||
return notify(this.update); | ||
} | ||
}; | ||
@@ -175,0 +179,0 @@ |
{ | ||
"name": "cosy-js", | ||
"version": "0.4.13", | ||
"version": "0.4.14", | ||
"description": "A cosy little library.", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
136476
2393