Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A Dive Into Plain JavaScript. Parent comment
I checked this and it is an opinionated BS.
You can't just replace $.fn.ready with a 'DOMContentLoaded' event. 'DOMContentLoaded' is not supported in a older versions of IE.
Also what if instead of this: "var newDiv = $('<div/>')" I need this: "var newDiv = $('<div data-bar="true">Some text<div class="foo"/><')"?
So overall that post is comparing apples to oranges.
There are no comments on this comment yet.
I checked this and it is an opinionated BS.
You can't just replace $.fn.ready with a 'DOMContentLoaded' event. 'DOMContentLoaded' is not supported in a older versions of IE.
Also what if instead of this: "var newDiv = $('<div/>')" I need this: "var newDiv = $('<div data-bar="true">Some text<div class="foo"/><')"?
So overall that post is comparing apples to oranges.