simple-ui-builder
Advanced tools
Comparing version 1.0.18 to 1.0.19
{ | ||
"name": "simple-ui-builder", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"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", |
@@ -89,2 +89,7 @@ /** | ||
if ((typeof cb == "object") && (typeof params == "undefined")) { | ||
params = cb; | ||
cb = console.log; | ||
} | ||
cb = cb || function() { | ||
@@ -91,0 +96,0 @@ console.log("button clicked"); |
23690
545