Nice way to do console.log in CoffeeScript that won’t break IE 8 if you forget to remove it This: console?.log('YES'); Becomes: if (typeof console !== "undefined" && console !== null) { console.log('YES'); } December 20, 2013 By Jason JavaScript No Comments Tweet this Post Scale div / element and maintain aspect ratio with and without box-sizing and padding-topScale div / element and maintain aspect ratio with and without box-sizing and padding-top
Be the first to leave a comment. Don’t be shy.