30 seconds of code – great javascript code snippets resource

> The core goal of 30 seconds of code is to provide a quality resource for beginner and advanced JavaScript developers alike. We want to help improve the JavaScript ecosystem, by lowering the barrier of entry for newcomers and help seasoned veterans pick up new tricks and remember old ones. In order to achieve this, we have collected hundreds of snippets that can be of use in a wide range of situations.
30secondsofcode.org/about

Official Microsoft Edge Preview builds available (based on Chromium)

Microsoft has just unveiled official preview builds of the upcoming Microsoft Edge web browser that is based on Chromium. Interested users can head over to the Microsoft Edge Insider website to download Beta, Dev, and Canary builds of the upcoming version of Microsoft Edge for Windows 10.

Source: Official Microsoft Edge Preview builds available – gHacks Tech News

CSS overflow-wrap — Control wrapping of text overflow or wrapping

This css works in most common browsers (including IE)

word-wrap: break-word; //ie specific
overflow-wrap: break-word //other browsers

Internet Explorer has its own implementation for “overflow-wrap” -> “word-wrap”.

A readymade sass mixin:

/* Usage: .box { @include wordBreak; } */
@mixin wordBreak {
word-wrap: break-word; //ie specific
overflow-wrap: break-word //other browsers
}

Source: CSS overflow-wrap — Control wrapping of text overflow or wrapping – CSS: Cascading Style Sheets | MDN