summaryrefslogtreecommitdiff
path: root/StoneIsland/plugins/cordova-plugin-customurlscheme/www/windows/LaunchMyApp.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-30 23:07:12 -0500
committerJules Laplace <jules@okfoc.us>2015-11-30 23:07:12 -0500
commitef14c875d7056f90be606ebf1f389c112b947f81 (patch)
tree0a0fa9f13f32c5fc2b5afdfaaea48c6aa3bd35f4 /StoneIsland/plugins/cordova-plugin-customurlscheme/www/windows/LaunchMyApp.js
parent0381ab43b7e110a5c3950ca9f8bbe4007963c907 (diff)
canadian country code
Diffstat (limited to 'StoneIsland/plugins/cordova-plugin-customurlscheme/www/windows/LaunchMyApp.js')
-rw-r--r--StoneIsland/plugins/cordova-plugin-customurlscheme/www/windows/LaunchMyApp.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/StoneIsland/plugins/cordova-plugin-customurlscheme/www/windows/LaunchMyApp.js b/StoneIsland/plugins/cordova-plugin-customurlscheme/www/windows/LaunchMyApp.js
new file mode 100644
index 00000000..a70d5e94
--- /dev/null
+++ b/StoneIsland/plugins/cordova-plugin-customurlscheme/www/windows/LaunchMyApp.js
@@ -0,0 +1,10 @@
+(function () {
+ function activatedHandler(e) {
+ if (typeof handleOpenURL == 'function' && e.uri) {
+ handleOpenURL(e.uri.rawUri);
+ }
+ };
+
+ var wui = Windows.UI.WebUI.WebUIApplication;
+ wui.addEventListener("activated", activatedHandler, false);
+}());