Use browserify.
This commit is contained in:
@@ -3,17 +3,7 @@
|
||||
*/
|
||||
(function (factory) {
|
||||
'use strict';
|
||||
|
||||
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);
|
||||
}
|
||||
factory(jQuery);
|
||||
})(function ($) {
|
||||
'use strict';
|
||||
|
||||
Reference in New Issue
Block a user