Skip to content

Error while adding JQuery public methods #362

@apu84

Description

@apu84

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions