summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/lib/_router.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-30 23:19:28 -0500
committerJules Laplace <jules@okfoc.us>2015-11-30 23:19:28 -0500
commitf6e7c07078252d72b0c7725350a83adfff740b99 (patch)
tree41980a23e5e76b4bbdfcee5d039845635003e0df /StoneIsland/platforms/ios/www/js/lib/_router.js
parent83a884197ff0226631a46e4894f22b8468b15598 (diff)
plugins
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/_router.js')
-rw-r--r--StoneIsland/platforms/ios/www/js/lib/_router.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/_router.js b/StoneIsland/platforms/ios/www/js/lib/_router.js
index b70d9be8..23daf4c7 100644
--- a/StoneIsland/platforms/ios/www/js/lib/_router.js
+++ b/StoneIsland/platforms/ios/www/js/lib/_router.js
@@ -47,6 +47,17 @@ var SiteRouter = Router.extend({
}
}
},
+
+ initial_route: null,
+ launch: function(){
+ if (this.initial_route) {
+ this.parseRoute( this.initial_route )
+ }
+ else {
+ this.route()
+ }
+ this.initial_route = null
+ },
go: function(url){
if (app.view && app.view.hide) {