simple-ui-builder
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "simple-ui-builder", | ||
"version": "1.0.0", | ||
"description": "Build user interface like Lego bricks. UI.input(), UI.button(cb), UI.select(arr) etc. For lazy developers as I am.", | ||
"version": "1.0.1", | ||
"description": "Build user interface like Lego bricks. UI.input(), UI.button(cb), UI.select(arr) etc. For lazy guys as I am.", | ||
"main": "ui.js", | ||
@@ -6,0 +6,0 @@ "repository": { |
# simple-ui-builder | ||
Build user interface like Lego bricks. UI.input(), UI.button(cb), UI.select(arr) etc. For lazy developers as I am. | ||
Build user interface like Lego bricks. UI.input(), UI.button(cb), UI.select(arr) etc. For lazy guys as I am. |
@@ -258,2 +258,8 @@ /** | ||
params = params || {}; | ||
if(!str) console.warn("nothing to save!"); | ||
if(typeof str == "object") str = JSON.stringify(str); | ||
params.id = params.id || params.name || "download-link"; | ||
@@ -260,0 +266,0 @@ params.name = params.name || "renameMe.json"; |
16342
381