Open oscarcosta opened 9 years ago
Have you considered adding AMD support in your plugin? It's really very useful for many developers. ;) Here an example of how I did:
(function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['jquery', 'jquery.ui'], factory); } else { // Browser globals factory(jQuery); } }(function ($) { // JQuery-Timepicker-Addon goes here... :) }));
More details about the methods for supporting AMD: https://github.com/umdjs/umd
@oscarcosta Thanks for the suggestion. This is now in the dev branch and I hope to get dev tested and merged soon.
It seems it broke localization ..
Have you considered adding AMD support in your plugin? It's really very useful for many developers. ;) Here an example of how I did:
More details about the methods for supporting AMD: https://github.com/umdjs/umd