custom-ability
Advanced tools
Comparing version 1.2.0 to 1.2.1
(function() { | ||
'use strict'; | ||
var defineProperty, extend, extendFilter, injectMethods, isArray, isFunction, | ||
var defineProperty, extend, extendFilter, injectMethods, isArray, isBoolean, isFunction, | ||
__indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; | ||
@@ -10,2 +10,4 @@ | ||
isBoolean = require('util-ex/lib/is/type/boolean'); | ||
extend = require('util-ex/lib/_extend'); | ||
@@ -21,2 +23,6 @@ | ||
var abilityFn; | ||
if (isBoolean(aCoreMethod)) { | ||
isGetClassFunc = aCoreMethod; | ||
aCoreMethod = void 0; | ||
} | ||
abilityFn = function(aClass, aOptions) { | ||
@@ -23,0 +29,0 @@ var AbilityClass, filter, filterMethods, vAbility, vExcludes, vIncludes, vName; |
{ | ||
"name": "custom-ability", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"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
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
25584
132