clean the main layout now known as unfold1, including for the 2 pieces (unfold1_main...
[unfold.git] / unfold / js / unfold-helper.js
diff --git a/unfold/js/unfold-helper.js b/unfold/js/unfold-helper.js
new file mode 100644 (file)
index 0000000..6d8e01c
--- /dev/null
@@ -0,0 +1,8 @@
+var unfold = {
+    warning:function(text){ 
+       return "<button class='unfold-warning btn btn-warning'>"+text+"</button>"; 
+    },
+    error : function(text){ 
+       return "<button class='unfold-error btn btn-error'>"+text+"</button>"; 
+    },
+} // global unfold