You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having just read the article, that trick would break just about every jQuery plugin. If you want to do that I'd suggest using requireJS to late load libraries and plugins. Or just load this after jQuery at the foot of your page.
You could also avoid the jQuery 'tax' completely, I've not used it on my last couple of work projects. http://youmightnotneedjquery.com/
If jquery is loaded at page footer and some trick is done make ready function to work before jquery is loaded, like described in here http://writing.colin-gourlay.com/safely-using-ready-before-including-jquery iFrameResizer thorws an exception and stops execution.
Uncaught TypeError: Cannot set property 'iFrameResize' of undefined.
Probably can be fixed if use it like,
if (window.jQuery) {$(document).ready(function () {createJQueryPublicMethod(jQuery);});}
Plunker link
The text was updated successfully, but these errors were encountered: