Keyboard
Keyboard copied to clipboard
jQuery's lightweight custom version
I want to include the keyboard in a nodewebkit (a.k.a nw.js) project. But the problem is that the keyboard is actually the only component that depends on jQuery and I want to minimize the impact on my project by adding a custom lightweight version of jQuery instead of its full version. Can anyone tell me about which of the jQuery's components are really needed for this plugin?
Thanks in advance.
Hi @I-NOZex!
Hmm, I've been wanting to rewrite the plugin in plain JS, but I just haven't had the time. I'd have to dig through the code to figure out what parts of jQuery are actually being used. So, no there isn't a list of which components are needed. Sorry.
I did find this interesting article on using webpack with jQuery: http://alexomara.com/blog/webpack-and-jquery-include-only-the-parts-you-need/
Hello, thanks for the brevity of the response and the article's suggestion, I'll take a look. Thanks for the help you gave me and the fantastic plugin.