aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzefanja <zefanja@freenet.de>2013-08-07 14:35:55 +0700
committerzefanja <zefanja@freenet.de>2013-08-07 14:35:55 +0700
commit7358d6c56001eadcde30e81cf41ccc658c065a7c (patch)
tree8be9d9fa62d7120bc78f545bdabe997213ac7d19
parent4671928507af7dac207d4a20ea9b6c296d4c799d (diff)
downloadbiblez-ng-7358d6c56001eadcde30e81cf41ccc658c065a7c.tar.gz
* added work around for FxOS's CSP rules
* added description to manifest files for systemXHR
-rwxr-xr-xbuildApp.sh2
-rw-r--r--debug.html3
m---------enyo0
-rw-r--r--index.html7
m---------lib/layout0
m---------lib/onyx0
m---------lib/sword0
-rw-r--r--manifest.deploy4
-rw-r--r--manifest.webapp4
-rw-r--r--source/App.js7
10 files changed, 14 insertions, 13 deletions
diff --git a/buildApp.sh b/buildApp.sh
index 7d028d5..615320b 100755
--- a/buildApp.sh
+++ b/buildApp.sh
@@ -1,3 +1,3 @@
#!/bin/sh
sh tools/deploy.sh
-cp manifest.deploy deploy/biblez-enyo/manifest.webapp
+cp manifest.deploy deploy/biblez-ng/manifest.webapp
diff --git a/debug.html b/debug.html
index 2c81315..3e91962 100644
--- a/debug.html
+++ b/debug.html
@@ -16,8 +16,5 @@
<script src="source/package.js" charset="utf-8"></script>
</head>
<body class="enyo-unselectable">
- <script>
- new App().renderInto(document.body);
- </script>
</body>
</html>
diff --git a/enyo b/enyo
-Subproject 5417c8fe7e2ffa7154dc3e7e67612858d0923cd
+Subproject b8969bc24d1da4aa74e069c3c4cbc0315082fbf
diff --git a/index.html b/index.html
index 330639c..29c19a3 100644
--- a/index.html
+++ b/index.html
@@ -16,12 +16,5 @@
<script src="build/app.js" charset="utf-8"></script>
</head>
<body class="enyo-unselectable">
- <script>
- if (!window.App) {
- alert('No application build found, redirecting to debug.html.');
- location = 'debug.html';
- }
- new App().renderInto(document.body);
- </script>
</body>
</html>
diff --git a/lib/layout b/lib/layout
-Subproject 1ba8f591ceedcca87ff461f35397478bf25f7c4
+Subproject b7ab2eac47f7a1da1abe69587f7a8558d5220e0
diff --git a/lib/onyx b/lib/onyx
-Subproject 7ff3005b5b5e59bc0f9f3b3bd738c6019c12a83
+Subproject b97f9f45a4cafd21f7179aafbf8b6406ad99419
diff --git a/lib/sword b/lib/sword
-Subproject 0468165e03e818e974164051aae391942e2121f
+Subproject 20b5c5aad22746f8fb05fb2efd7346ba3bd19d5
diff --git a/manifest.deploy b/manifest.deploy
index 2d09b6b..829bc16 100644
--- a/manifest.deploy
+++ b/manifest.deploy
@@ -12,6 +12,8 @@
"default_locale": "en",
"type": "privileged",
"permissions": {
- "systemXHR": {}
+ "systemXHR": {
+ "description": "Required to download CrossWire's bible modules"
+ }
}
} \ No newline at end of file
diff --git a/manifest.webapp b/manifest.webapp
index 2e7ae68..7b56689 100644
--- a/manifest.webapp
+++ b/manifest.webapp
@@ -12,6 +12,8 @@
"default_locale": "en",
"type": "privileged",
"permissions": {
- "systemXHR": {}
+ "systemXHR": {
+ "description": "Required to download CrossWire's bible modules"
+ }
}
} \ No newline at end of file
diff --git a/source/App.js b/source/App.js
index b5a7ff0..0f75cb0 100644
--- a/source/App.js
+++ b/source/App.js
@@ -1,3 +1,10 @@
+enyo.ready(function() {
+ if (!window.App) {
+ alert('No application build found, please open debug.html.');
+ }
+ new App().renderInto(document.body);
+});
+
enyo.kind({
name: "App",
kind: enyo.FittableRows,