summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/index.js')
-rw-r--r--StoneIsland/platforms/ios/www/js/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/StoneIsland/platforms/ios/www/js/index.js b/StoneIsland/platforms/ios/www/js/index.js
index 5f9ca688..31e78c92 100644
--- a/StoneIsland/platforms/ios/www/js/index.js
+++ b/StoneIsland/platforms/ios/www/js/index.js
@@ -2,6 +2,7 @@ var app = (function(){
var app = {}
app.init = function(){
+ app.blog = new BlogView ()
app.archive = new ArchiveView ()
app.hub = new HubView ()
app.story = new StoryView ()
@@ -37,6 +38,9 @@ var app = (function(){
if (window.cordova) {
// cordova.plugins.Keyboard.disableScroll(true)
}
+
+ document.addEventListener('touchmove', function(e){ e.preventDefault() })
+
app.view = null
app.router = new SiteRouter ()
app.router.route()