Skip to content
This repository has been archived by the owner on Nov 8, 2017. It is now read-only.

Drop dependence on jQuery? #27

Open
artursapek opened this issue Jan 27, 2014 · 6 comments
Open

Drop dependence on jQuery? #27

artursapek opened this issue Jan 27, 2014 · 6 comments
Labels

Comments

@artursapek
Copy link
Owner

I'm not sure whether we should be trying to remove jQuery. Grepping around, it looks like there's ~400 instances of jQuery methods being used.

http://artur.co/pastes/1390824908.txt

That's a lot. It would take a while to replace, and doing so might be a waste of time.

If we don't remove it, we could use a CDN like Google to serve jQuery instead and get more or less the same speed benefit.

@Fishrock123
Copy link
Contributor

CDN / Custom-built jQuery (if we aren't using much of its features) is a good start.

@waldyrious
Copy link

For reference, here are some links that may be useful for such a transition:

@Fishrock123
Copy link
Contributor

(I recently did a lot of work on a project that used no jQuery or similar libs, I can take this up if need be.)

@artursapek
Copy link
Owner Author

Nah, this isn't a priority. Let's leave it alone for now.

There are several bugs open right now that are more important to tackle.

@tomByrer
Copy link
Contributor

There is a new library that has many jQuery DOM & event functions. Focuses on evergreen browser compatibility, so is around 2x+ faster than even Zepto & smaller.
http://webpro.github.io/jquery-evergreen/
No AJAX, but that is easily replaceable by another micro-library. show() & hide() are the frequent missing functions.

@artursapek
Copy link
Owner Author

Hmm. Mondrian uses a few functions like closest and val that this doesn't seem to support. Interesting lib though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants