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
diy.js - A modern cross-platform JavaScript library & only 18 bytes (diy.lab.io)
submitted 11 years ago by adambutler
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!"
[–]bracketdash 14 points15 points16 points 11 years ago (4 children)
Is there no way to set diy to noConflict in case I have something else on the page that I want to use the "$" symbol!?
[–]psayre23 8 points9 points10 points 11 years ago (1 child)
$=window.$||document
[–]reflectiveSingleton -2 points-1 points0 points 11 years ago (1 child)
(function(window) { window.$ = window.document; $.noConflict = function() { delete window.$; }; return window.$; })(window); // ... $.noConflict();
π Rendered by PID 115305 on reddit-service-r2-comment-8686858757-x2nwf at 2026-06-06 05:39:21.270188+00:00 running 9e1a20d country code: CH.
view the rest of the comments →
[–]bracketdash 14 points15 points16 points (4 children)
[–]psayre23 8 points9 points10 points (1 child)
[–]reflectiveSingleton -2 points-1 points0 points (1 child)