Comparing version 0.21.9 to 0.21.10
@@ -1844,3 +1844,14 @@ (function (root, factory) { if (typeof define === 'function' && define.amd) { | ||
Element.createElement = function(element, props) { | ||
if (arguments.length > 2) | ||
props.content = [].slice.call(arguments, 2) | ||
if (typeof element === 'string') | ||
element = getConstructor(element) | ||
if (typeof element === 'function') { | ||
return element(props) | ||
} | ||
throw Error('Unrecognize element type') | ||
} | ||
return Element | ||
})) |
{ | ||
"name": "alkali", | ||
"author": "Kris Zyp", | ||
"version": "0.21.9", | ||
"version": "0.21.10", | ||
"description": "Reactivity with native JavaScript objects and HTML elements", | ||
@@ -21,10 +21,10 @@ "license": "MIT", | ||
"devDependencies": { | ||
"bluebird": "^3.5.3", | ||
"bluebird": "^3.5", | ||
"dojo": "^1.10.2", | ||
"dojo-dstore": "^1.1.1", | ||
"mocha": "^6", | ||
"chai": "^4", | ||
"webpack": "^4.7.0", | ||
"mocha": "^6.1", | ||
"chai": "^4.2", | ||
"webpack": "^4.33.0", | ||
"webpack-cli": "^3.3.3" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
976769
12088