Last active
September 29, 2015 18:16
-
-
Save gabmontes/6a65551c6155f6775ecd to your computer and use it in GitHub Desktop.
Adapt WinJS 2.1 in Windows Phone 8.1 to work with latest angular-winjs bridge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (global) { | |
"use strict"; | |
if (WinJS) { | |
// https://github.com/winjs/angular-winjs/issues/56 | |
WinJS.UI.Command = WinJS.UI.Command || WinJS.UI.AppBarCommand; | |
// https://github.com/winjs/angular-winjs/issues/62 | |
WinJS.Utilities._setImmediate = WinJS.Utilities._setImmediate || setImmediate.bind(global); | |
} | |
})(this); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment