You need to edit the jQuery source to pass the jQuery.support function to MSApp.execUnsafeLocalFunction , which disables the checking of insecure content, for example:
jQuery.support = MSApp.execUnsafeLocalFunction(function() { var support, all, a, select, opt, input, fragment, tds, events, eventName, i, isSupported, div = document.createElement( "div" ), documentElement = document.documentElement;
You need to remember the last pair of brackets - you do not need a self- execUnsafeLocalFunction function, because execUnsafeLocalFunction automatically executes the passed function.
I suggest using WinJS functions better - this includes the WinJS.Promise object as an alternative to deferred operations (which themselves are an implementation of the Promise template). And you can do some basic DOM manipulations using the WinJS.Utilities namespace.
You should think twice about using jQuery for deferred operations. The WinJS.Promise object WinJS.Promise used in all Metro APIs to represent asynchronous actions, and you end up using two approaches that are similar to each other.
Adam Freeman Jun 02 2018-12-12T00: 12Z
source share