diff options
author | Scott Miles <scott.miles@palm.com> | 2012-05-03 17:47:54 -0700 |
---|---|---|
committer | Scott Miles <scott.miles@palm.com> | 2012-05-03 17:47:54 -0700 |
commit | 6d769c8286f693c1c1a74c11038dd281bb0fe260 (patch) | |
tree | 4f6edd0a941e5f5f55219d280ce782d65d93c571 /source | |
download | biblez-ng-6d769c8286f693c1c1a74c11038dd281bb0fe260.tar.gz |
construct template
Diffstat (limited to 'source')
-rw-r--r-- | source/App.css | 10 | ||||
-rw-r--r-- | source/App.js | 10 | ||||
-rw-r--r-- | source/package.js | 4 |
3 files changed, 24 insertions, 0 deletions
diff --git a/source/App.css b/source/App.css new file mode 100644 index 0000000..9f7626f --- /dev/null +++ b/source/App.css @@ -0,0 +1,10 @@ +/* + Put anything you reference with "url()" in ../assets/ + This way, you can minify your application, and just remove the "source" folder for production +*/ +#app { + margin: 16px; + border-radius: 4px; + background-color: silver; + padding: 16px; +} diff --git a/source/App.js b/source/App.js new file mode 100644 index 0000000..77dee2a --- /dev/null +++ b/source/App.js @@ -0,0 +1,10 @@ +enyo.kind({ + name: "App", + fit: true, + components:[ + {name: "hello", content: "Hello World", allowHtml: true, ontap: "helloWorldTap"} + ], + helloWorldTap: function(inSender, inEvent) { + this.$.hello.addContent("<br/><b>hello</b> control was tapped"); + } +}); diff --git a/source/package.js b/source/package.js new file mode 100644 index 0000000..78ceb60 --- /dev/null +++ b/source/package.js @@ -0,0 +1,4 @@ +enyo.depends( + "App.css", + "App.js" +); |