Last active
August 29, 2015 14:05
-
-
Save dprotopopov/9364765ca60f3fda2f3a to your computer and use it in GitHub Desktop.
This file contains hidden or 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 ($) { | |
(function (domManip) { | |
$.fn.domManip = function () { | |
var result; | |
var that = this; | |
var args = arguments; | |
MSApp.execUnsafeLocalFunction(function () { | |
result = domManip.apply(that, args); | |
}); | |
return result; | |
}; | |
})($.fn.domManip); | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment