simple-ui-builder
Advanced tools
Comparing version 1.0.13 to 1.0.14
{ | ||
"name": "simple-ui-builder", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"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", |
14
ui.js
@@ -249,5 +249,3 @@ /** | ||
cb = cb || params.cb || function(d) { | ||
console.log(d); | ||
}; | ||
cb = cb || params.cb || console.log; | ||
@@ -439,3 +437,3 @@ params.id = params.id || "file-reader"; | ||
params = cb; | ||
cb = undefined; | ||
cb = console.log; | ||
} | ||
@@ -451,5 +449,3 @@ | ||
cb = cb || function(selectedOption) { | ||
console.log(selectedOption); | ||
}; | ||
cb = cb || console.log; | ||
@@ -506,5 +502,3 @@ var select = document.createElement("select"); | ||
cb = cb || function(d) { | ||
console.log(d); | ||
}; | ||
cb = cb || console.log; | ||
@@ -511,0 +505,0 @@ var textarea = document.createElement("textarea"); |
22532
527