Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

initial webos app template project

  • Loading branch information...
commit f4f3f3e25021366af174db7b7eec65eb6e851900 0 parents
@dalmaer dalmaer authored
12 .project
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>webos-app-template</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ <nature>com.palm.pdt.nature</nature>
+ </natures>
+</projectDescription>
10 LICENSE
@@ -0,0 +1,10 @@
+Copyright (c) 2009, Palm Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+- Neither the name of the Palm Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5 app/assistants/stage-assistant.js
@@ -0,0 +1,5 @@
+function StageAssistant() {
+}
+
+StageAssistant.prototype.setup = function() {
+}
9 appinfo.json
@@ -0,0 +1,9 @@
+{
+ "id": "com.mycompany.webosapptemplate",
+ "version": "1.0.0",
+ "vendor": "My Company",
+ "type": "web",
+ "main": "index.html",
+ "title": "webos-app-template",
+ "icon": "icon.png"
+}
BIN  icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 index.html
@@ -0,0 +1,17 @@
+<!doctype html>
+<html>
+<head>
+ <title>webos-app-template</title>
+ <script src="/usr/palm/frameworks/mojo/mojo.js" type="text/javascript" x-mojo-version="1" />
+
+ <!-- application stylesheet should come in after the one loaded by the framework -->
+ <link href="stylesheets/webosapptemplate.css" media="screen" rel="stylesheet" type="text/css" />
+</head>
+<body>
+ <h2>This text verifies your application is running.</h2>
+ <p>
+ To create a fully functional Palm application create a scene and remove this text from index.html.
+ See the documentation on Palm Applications for more information on creating applications and scenes.
+ </p>
+</body>
+</html>
5 sources.json
@@ -0,0 +1,5 @@
+[
+ {
+ "source": "app/assistants/stage-assistant.js"
+ }
+]
1  stylesheets/webosapptemplate.css
@@ -0,0 +1 @@
+/* Put Application specific CSS here. */
Please sign in to comment.
Something went wrong with that request. Please try again.