3 ms·
Would the $ conflict with jQuery. (Of course jQuery's main job is DOM manipulation which isn't needed here)
by ape4 5y ago
Would the $ conflict with jQuery.
(Of course jQuery's main job is DOM manipulation which isn't needed here)
- lobstrosity420 5y agoYou can load JQuery into a different global variable if you want. There are cases where you might want to parse a DOM in the context of shell scripts, such as scrapping some web page. Although JQuery wouldn't be the tool I'd personally reach for in this case.
- LocalPCGuy 5y agoThis isn't a browser-based script, so no real fear of conflict. Plus, it's basically past time to retire jQuery anyways, outside of maintaining legacy apps.