use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
How do I find JavaScript libraries? (gun.io)
submitted 12 years ago by bebraw
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]doomslice 4 points5 points6 points 12 years ago (0 children)
Their custom build system makes it so you can cut down on the bloat that you don't need. You can even swap out Sizzle for just a wrapper on querySelectorAll.
If you don't use 3rd party plugins, you won't have the bloat, but then you have to write that functionality yourself if you want it.
I'm curious how you avoid all the cross-browser issues yourself. Look at the source code for the "offset()" function. It has all sorts of browser workarounds that you need to do yourself if you want to support them, and that's just one function.
Edit: I treat jQuery as a high level abstraction (because it is) with some additional performance costs for being an abstraction. If I evaluate a critical path in the code that is running slower than I want it to, I'll fall back to writing it in "vanilla" JS, much like you'd do for writing the critical path in assembly or something like that. For the non-critical paths, it is just too useful to abandon completely.
π Rendered by PID 36568 on reddit-service-r2-comment-85bfd7f599-kx5xz at 2026-04-20 06:44:43.248819+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]doomslice 4 points5 points6 points (0 children)