abstract-object
Advanced tools
Comparing version 2.1.8 to 2.1.9
@@ -15,3 +15,3 @@ | ||
(function() { | ||
var addionalOptions, eventable; | ||
var addionalOptions, eventable, hasAbilityOnParent; | ||
@@ -22,6 +22,6 @@ eventable = require('events-ex/eventable'); | ||
hasAbilityOnParent = require('custom-ability/lib/has-ability-on-parent'); | ||
module.exports = function(aClass, aOptions) { | ||
var vAbilities; | ||
vAbilities = aClass.prototype.$abilities; | ||
if (!(vAbilities && vAbilities.Eventable)) { | ||
if (!hasAbilityOnParent(aClass, 'Eventable')) { | ||
aOptions = addionalOptions(aOptions); | ||
@@ -28,0 +28,0 @@ } |
{ | ||
"name": "abstract-object", | ||
"version": "2.1.8", | ||
"version": "2.1.9", | ||
"description": "AbstractObject with Object State Events Support", | ||
@@ -20,3 +20,3 @@ "homepage": "https://github.com/snowyu/abstract-object", | ||
"dependencies": { | ||
"custom-ability": "^1.4.0", | ||
"custom-ability": "^1.4.2", | ||
"events-ex": "^1.1.5", | ||
@@ -23,0 +23,0 @@ "inherits-ex": "^1.1.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
57295
340
Updatedcustom-ability@^1.4.2