bootstrap-timepicker icon indicating copy to clipboard operation
bootstrap-timepicker copied to clipboard

remove need for jQuery global

Open MartijnR opened this issue 8 years ago • 1 comments

e.g. by wrapping plugin like this:

(function(factory){
    if (typeof define === "function" && define.amd) {
        define(["jquery"], factory);
    } else if (typeof exports === 'object') {
        factory(require('jquery'));
    } else {
        factory(jQuery);
    }
}(function($, undefined){
  // the plugin code
}));

MartijnR avatar Oct 05 '16 21:10 MartijnR

This PR would close this: https://github.com/jdewit/bootstrap-timepicker/pull/350

MartijnR avatar Oct 06 '16 00:10 MartijnR