ebuilder-js
Advanced tools
Comparing version 0.0.11 to 0.0.12
{ | ||
"name": "ebuilder-js", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Highly configurable and easily manipulable elements in a single declaration, with a functionnal touch.", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -74,3 +74,3 @@ "use strict"; | ||
exports.isValidSource = function (source) { | ||
return source instanceof Element || exports.isTypeOf(source, 'string'); | ||
return exports.isString(source) || source instanceof Element || source instanceof ShadowRoot; | ||
}; | ||
@@ -83,3 +83,3 @@ | ||
exports.isValidTarget = function (target) { | ||
return exports.isEBObject(target) || target instanceof Element; | ||
return exports.isEBObject(target) || target instanceof Element || target instanceof ShadowRoot; | ||
}; | ||
@@ -86,0 +86,0 @@ |
76696
20