You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's nothing jQuery-specific about the globalization plugin and the benefit of providing something that works everywhere outweighs the benefits of not defining a few small functions.
There actually was a jQuery-independent version of the plugin, exporting window.Globalization. I removed that, as it duplicated the full plugin and made any changes require changing two files.
What we actually need is a build that exports a jQuery-free version. And the jQuery-specific version could be optimized to use jQuery methods, but the overhead is pretty small, so not so much of a priority.
The Globalization plugin defines methods, both public and private, that are already part of jQuery:
Is there something specific in these implementations that prevents calling jQuery methods instead?
The text was updated successfully, but these errors were encountered: