summaryrefslogtreecommitdiff
path: root/StoneIsland/plugins/cordova-plugin-customurlscheme/www/wp8/LaunchMyApp.js
blob: a8172f0f839b7675a590992c8135b5ebb30d3fbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(function () {
    function activatedHandlerWinUI(e) {
        if (typeof handleOpenURL == 'function' && e.uri) {
            handleOpenURL(e.uri.rawUri);
        }
    };

	if (typeof Windows != 'undefined') {
	    var wui = Windows.UI.WebUI.WebUIApplication;
	    wui.addEventListener("activated", activatedHandlerWinUI, false);
	}
}());