winjs / angular-winjs

Project to smooth the AngularJS/WinJS interaction
Other
126 stars 46 forks source link

Check to see if MSApp.execUnsafeLocalFunction exists #32

Closed sorskoot closed 9 years ago

sorskoot commented 9 years ago

Angular-Winjs crashes in a UWP, because MSApp.execUnsafeLocalFunction is undefined. It seems to be removed in Windows 10.

Added a check to see if MSApp.execUnsafeLocalFunction exists. Winstore-jscompat does this check too.

msftclas commented 9 years ago

Hi @sorskoot, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

TheWrathOfConst commented 9 years ago

Change looks good. Accepted. Thanks for the pull request!