commit:8f940c84c97f3305ea666d8fd9af2a802d74ef9f
author:Chip Black
committer:Chip Black
date:Sat Aug 11 21:29:29 2012 -0500
parents:
Initial commit
diff --git a/.gitignore b/.gitignore
line changes: +2/-0
index 0000000..5975d97
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+*~
+build/

diff --git a/.gitmodules b/.gitmodules
line changes: +9/-0
index 0000000..3578416
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,9 @@
+[submodule "enyo"]
+	path = enyo
+	url = https://github.com/enyojs/enyo.git
+[submodule "lib/onyx"]
+	path = lib/onyx
+	url = https://github.com/enyojs/onyx.git
+[submodule "lib/layout"]
+	path = lib/layout
+	url = https://github.com/enyojs/layout.git

diff --git a/debug.html b/debug.html
line changes: +18/-0
index 0000000..739e336
--- /dev/null
+++ b/debug.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		<title>Blërg Mobile</title>
+		<meta http-equiv="Content-Type" content="text/html; charset=utf8"/>
+		<meta name="apple-mobile-web-app-capable" content="yes"/>
+		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
+		<!-- enyo (debug) -->
+		<script src="enyo/enyo.js"></script>
+		<!-- application (debug) -->
+		<script src="source/package.js" type="text/javascript"></script>
+	</head>
+	<body class="enyo-unselectable">
+		<script>
+			new Blerg().renderInto(document.body);
+		</script>
+	</body>
+</html>

diff --git a/enyo b/enyo
line changes: +1/-0
index 0000000..91e23f9
--- /dev/null
+++ b/enyo
@@ -0,0 +1 @@
+Subproject commit 91e23f9e0f2849f39d9172593d4bc54bde4ee2ac

diff --git a/index.html b/index.html
line changes: +24/-0
index 0000000..5a87ad3
--- /dev/null
+++ b/index.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+	<head>
+		<title>Blërg Mobile</title>
+		<meta http-equiv="Content-Type" content="text/html; charset=utf8"/>
+		<meta name="apple-mobile-web-app-capable" content="yes"/>
+		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
+		<!-- css -->
+		<link href="build/enyo.css" rel="stylesheet"/>
+		<link href="build/app.css" rel="stylesheet"/>
+		<!-- js -->
+		<script src="build/enyo.js"></script>
+		<script src="build/app.js"></script>
+	</head>
+	<body class="enyo-unselectable">
+		<script>
+			if (!window.Blerg) {
+				alert('No application build found, redirecting to debug.html.');
+				location = 'debug.html';
+			}
+			new Blerg().renderInto(document.body);
+		</script>
+	</body>
+</html>

diff --git a/lib/layout b/lib/layout
line changes: +1/-0
index 0000000..783c3c2
--- /dev/null
+++ b/lib/layout
@@ -0,0 +1 @@
+Subproject commit 783c3c2841c99c98818b24b63a37b0213db31421

diff --git a/lib/onyx b/lib/onyx
line changes: +1/-0
index 0000000..c6998f8
--- /dev/null
+++ b/lib/onyx
@@ -0,0 +1 @@
+Subproject commit c6998f83822486a3d60382509037b5153de16dd2

diff --git a/source/Blerg.css b/source/Blerg.css
line changes: +2/-0
index 0000000..25fa51c
--- /dev/null
+++ b/source/Blerg.css
@@ -0,0 +1,2 @@
+body {
+}

diff --git a/source/Blerg.js b/source/Blerg.js
line changes: +6/-0
index 0000000..47f7fc1
--- /dev/null
+++ b/source/Blerg.js
@@ -0,0 +1,6 @@
+enyo.kind({
+    name: "Blerg",
+    components: [
+        {content: "Hello!"}
+    ]
+});

diff --git a/source/package.js b/source/package.js
line changes: +6/-0
index 0000000..38cf2ca
--- /dev/null
+++ b/source/package.js
@@ -0,0 +1,6 @@
+enyo.depends(
+    '$lib/layout',
+    '$lib/onyx',
+    'Blerg.css',
+    'Blerg.js'
+);