summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/etc/deeplink.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-12-11 14:30:18 -0600
committerJules Laplace <jules@okfoc.us>2015-12-11 14:30:18 -0600
commit32c8b0fa79e6aa818360341f58b6f327299caf59 (patch)
tree4d53a581790941b5863354c0d903b5583f87a673 /StoneIsland/www/js/lib/etc/deeplink.js
parent6751e1424bb46a3d6a035e695bcd61475e40a13f (diff)
deeplinking working. 0.4.0
Diffstat (limited to 'StoneIsland/www/js/lib/etc/deeplink.js')
-rwxr-xr-xStoneIsland/www/js/lib/etc/deeplink.js4
1 files changed, 3 insertions, 1 deletions
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