Add Tag handler. Also convert all tabs to spaces.
[blerg.git] / www / jssrc / blerg / SignupDialog.js
index c62108b..f51e526 100644 (file)
@@ -1,28 +1,28 @@
 enyo.kind({
-       name: "blerg.SignupDialog",
-       kind: "onyx.Popup",
-       classes: "blerg-dialog",
-       autoDismiss: true,
-       centered: true,
-       floating: true,
-       modal: true,
-       components: [
-               {tag: "h2", content: "Sign Up"},
-               {kind: "onyx.Groupbox", components: [
-                       {kind: "onyx.InputDecorator", components: [
-                               {name: "username", kind: "onyx.Input", placeholder: "Username"}
-                       ]},
-                       {kind: "onyx.InputDecorator", components: [
-                               {name: "password", kind: "onyx.Input", placeholder: "Password", type: "password"}
-                       ]}
-               ]},
-               {kind: "onyx.Button", content: "Signup", onclick: "signupClick", classes: "onyx-affirmative"},
-               {kind: "onyx.Button", content: "Cancel", onclick: "cancelClick", classes: "onyx-negative"}
-       ],
-       signupClick: function() {
-               // Do stuff
-       },
-       cancelClick: function() {
-               this.hide();
-       }
+    name: "blerg.SignupDialog",
+    kind: "onyx.Popup",
+    classes: "blerg-dialog",
+    autoDismiss: true,
+    centered: true,
+    floating: true,
+    modal: true,
+    components: [
+        {tag: "h2", content: "Sign Up"},
+        {kind: "onyx.Groupbox", components: [
+            {kind: "onyx.InputDecorator", components: [
+                {name: "username", kind: "onyx.Input", placeholder: "Username"}
+            ]},
+            {kind: "onyx.InputDecorator", components: [
+                {name: "password", kind: "onyx.Input", placeholder: "Password", type: "password"}
+            ]}
+        ]},
+        {kind: "onyx.Button", content: "Signup", onclick: "signupClick", classes: "onyx-affirmative"},
+        {kind: "onyx.Button", content: "Cancel", onclick: "cancelClick", classes: "onyx-negative"}
+    ],
+    signupClick: function() {
+        // Do stuff
+    },
+    cancelClick: function() {
+        this.hide();
+    }
 });