simple-ui-builder
Advanced tools
Comparing version 1.0.49 to 1.0.50
{ | ||
"name": "simple-ui-builder", | ||
"version": "1.0.49", | ||
"version": "1.0.50", | ||
"description": "Build user interface like Lego bricks. UI.input(), UI.button(cb), UI.select(arr) etc. For lazy guys as I am.", | ||
@@ -5,0 +5,0 @@ "main": "ui.js", |
@@ -350,2 +350,7 @@ /** | ||
if (typeof params.parent == 'string') { | ||
params.parent = document.querySelector(params.parent) | ||
} else params.parent = params.parent || | ||
document.querySelector('#ui') || document.body | ||
params = params || {} | ||
@@ -352,0 +357,0 @@ |
34965
937