Skip to content

Instantly share code, notes, and snippets.

@gabmontes
Last active September 29, 2015 18:16
Show Gist options
  • Save gabmontes/6a65551c6155f6775ecd to your computer and use it in GitHub Desktop.
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
(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