custom-ability
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -14,5 +14,8 @@ (function() { | ||
module.exports = function(AbilityClass, aCoreMethod) { | ||
module.exports = function(AbilityClass, aCoreMethod, isGetClassFunc) { | ||
return function(aClass, aOptions) { | ||
var filter, vExcludes, vIncludes; | ||
if (isGetClassFunc === true) { | ||
AbilityClass = AbilityClass(aClass, aOptions); | ||
} | ||
if (aClass == null) { | ||
@@ -19,0 +22,0 @@ aClass = AbilityClass; |
{ | ||
"name": "custom-ability", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "make custom ability more easy. generate the ability which can be added to any class directly.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/snowyu/custom-ability.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
16725
73
1
114