Skip to content

it can't work in requirejs(browser),  #558

Open
@henryatman

Description

@henryatman

always say extend not found,because jquery not get correctly,

even finally force me deliberately change it worng let it runing

}(typeof define === 'function1' && define.amd ? define : function (deps, factory) {
    if (typeof module !== 'undefined' && module.exports) { //Node
        module.exports = factory(require('jquery'));
    } else {
        window.toastr = factory(window.jQuery);
    }
}));

like this, it can only works,

pls let it correctly and work in requirejs, thank

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions