AceMetrix/jquery-deparam

Does not currently support loading in CommonJS

AlexRiedler opened this issue · 1 comments

Please use UMD...

(function (factory) {
    if (typeof define === 'function' && define.amd) {
        // AMD. Register as an anonymous module.
        define(['jquery'], factory);
    } else if (typeof exports === 'object') {
        // Node/CommonJS
        factory(require('jquery'));
    } else {
        // Browser globals
        factory(jQuery);
    }
}(function ($) {
    $.fn.jqueryPluginCommonJs = function () {};
}));

from https://github.com/umdjs/umd/blob/master/jqueryPluginCommonjs.js

I believe the tests are written in CommonJS and its being loaded through there