Keyboard icon indicating copy to clipboard operation
Keyboard copied to clipboard

jQuery's lightweight custom version

Open I-NOZex opened this issue 8 years ago • 2 comments

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.

I-NOZex avatar Mar 09 '16 11:03 I-NOZex

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/

Mottie avatar Mar 09 '16 13:03 Mottie

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.

I-NOZex avatar Mar 09 '16 14:03 I-NOZex