12 lines
353 B
Plaintext
12 lines
353 B
Plaintext
// Uses AMD or browser globals to create a jQuery plugin.
|
|
(function (factory) {
|
|
if (typeof define === 'function' && define.amd) {
|
|
// AMD. Register as an anonymous module.
|
|
define(['jquery'], factory);
|
|
} else {
|
|
// Browser globals
|
|
factory(jQuery);
|
|
}
|
|
} (function (jQuery) {
|
|
var module = { exports: { } }; // Fake component
|