Comparing version 1.5.12 to 1.5.13
@@ -6,3 +6,3 @@ { | ||
"author": "rackai", | ||
"version": "1.5.12", | ||
"version": "1.5.13", | ||
"repository": "https://github.com/rackai/domql", | ||
@@ -9,0 +9,0 @@ "publishConfig": { |
@@ -14,3 +14,3 @@ 'use strict' | ||
import { assignClass } from './mixins/classList' | ||
import { isFunction, isNumber, isString, createID, isNode } from '../utils' | ||
import { isFunction, isNumber, isString, createID, isNode, exec } from '../utils' | ||
import { remove, lookup, setProps, log, keys, parse, parseDeep } from './methods' | ||
@@ -50,7 +50,8 @@ import cacheNode from './cache' | ||
const { extend, component } = element | ||
if (isString(extend)) | ||
if (components[extend]) element.extend = components[extend] | ||
const execExtend = exec(extend, element) | ||
if (isString(execExtend)) | ||
if (components[execExtend]) element.extend = components[execExtend] | ||
else { | ||
if (ENV === 'test' || ENV === 'development') { | ||
console.warn(extend, 'is not in library', components, element) | ||
console.warn(execExtend, 'is not in library', components, element) | ||
console.warn('replacing with ', {}) | ||
@@ -57,0 +58,0 @@ } |
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
56235
1699