Open MartijnR opened 8 years ago
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 }));
This PR would close this: https://github.com/jdewit/bootstrap-timepicker/pull/350
e.g. by wrapping plugin like this: