News for hackers. Stuff that matters.
Re:You Don't Need JQuery by pawelk on Tuesday December 16, 2014 @02:38PM (#8758892)

    document.getElementById('foo').classList.remove('bold');
see https://developer.mozilla.org/en-US/docs/Web/API/Element.cla...
Re:You Don't Need JQuery by ulisesrmzroche on Tuesday December 16, 2014 @05:57PM (#8760118)
If I saw that, first comment on the PR would be to wrap that eye sore in a wrapper function with a clear name. Which is basically what jQuery is doing.
Re:You Don't Need JQuery by masklinn on Tuesday December 16, 2014 @06:52PM (#8760327)
Unless it turns out there's no `foo` in the page, then that blows up.
Re:You Don't Need JQuery by prezjordan on Tuesday December 16, 2014 @05:21PM (#8759957)
Only since IE10.