Update to Enyo and Onyx 2.0-beta4
[blerg.git] / www / jssrc / blerg / Welcome.js
index 32301ce..2d3357e 100644 (file)
@@ -10,14 +10,14 @@ enyo.kind({
     },
     components: [
         {components: [
-            {style: "float: right; text-align: center; margin: 0 0 1em 1em", components: [
-                {style: "font-size: 14pt; margin-bottom: 4pt", content: "Curious? Click this unbelievably obnoxious button!"},
-                {kind: "onyx.Button", content: "I want to Blërg!", style: "font-size: 40pt; padding: 1em; background-color: #C0F; color: #F88", onclick: "startSignup"}
+            {style: "float: right; text-align: center; margin: 0 0 1em 1em;", components: [
+                {style: "font-size: 14pt; margin-bottom: 4pt;", content: "Curious? Click this unbelievably obnoxious button!"},
+                {kind: "onyx.Button", content: "I want to Blërg!", style: "font-size: 40pt; padding: 1em; background-color: #C0F; color: #F88;", onclick: "startSignup"}
             ]}
         ]},
         {allowHtml: true, content: '<h2>I am 12 and what is this</h2> <p>Blërg is a microblogging platform.  Or maybe a miniblogging platform.  Blërg is not sure.  Blërg is a lot like <a href="http://twitter.com/">Twitter</a>, but aims to fix some of its idiosyncracies.  Blërg does not want to be a full blogging platform like <a href="http://wordpress.com/">Wordpress</a> or <a href="http://livejournal.com/">Livejournal</a>.  Blërg is also an <a href="/doc/">open source tagged text database engine</a> written in C that does the back-end work. Blërg\'s author finds it entertaining to anthropomorphize Blërg in the third person.</p>'},
         {name: "moreLink", kind: "blerg.Link", onNavigate: "loadMore", content: "Tell me more..."},
-        {style: "clear: both"},
+        {style: "clear: both;"},
         {name: "contentBox", allowHtml: true},
         {classes: "latest", components: [
             {tag: "h2", content: "Latest posts"},
@@ -64,7 +64,7 @@ enyo.kind({
                     content: "#" + v,
                     classes: "ref"
                 });
-                this.$.latestTags.createComponent({noDom: true, content: " "});
+                this.$.latestTags.createComponent({tag: null, content: " "});
             }
             this.$.latestTags.render();