From 32c8b0fa79e6aa818360341f58b6f327299caf59 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 11 Dec 2015 14:30:18 -0600 Subject: deeplinking working. 0.4.0 --- StoneIsland/www/js/lib/etc/deeplink.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'StoneIsland/www/js/lib/etc/deeplink.js') diff --git a/StoneIsland/www/js/lib/etc/deeplink.js b/StoneIsland/www/js/lib/etc/deeplink.js index 648dd167..7667cfcd 100755 --- a/StoneIsland/www/js/lib/etc/deeplink.js +++ b/StoneIsland/www/js/lib/etc/deeplink.js @@ -1,3 +1,5 @@ function handleOpenURL (url) { - app.router.initial_route = url + console.log("DEEP LINKING DETECTED", url) + url = url.replace("stoneisland:/", "") + app.router.parseRoute( url ) } \ No newline at end of file -- cgit v1.2.3-70-g09d2