Free Bootstrap theme resembling Material Design. Bootswatch offers Sass and Less files, so the theme can easily be integrated into...
Jasmine comes with two matchers that test for equality. The first is toBe: expect(first).toBe(second) toBe passes when...
The easiest way to freeze or travel through time in a Jasmine spec is to use the built-in jasmine.clock...
If you are writing any amount of Javascript, you are probably using closures to hide local state, e.g. to have...
tl;dr: Use event.currentTarget unless you are absolutely certain that you need event.target. Since it hasn't been written down...
CSS (+ some Javascript) framework, implementing Google's material design for static web pages. Can be used for plain websites without...
Disabling auto-complete in login forms is probably a bad idea, since it encourages weak passwords. If you are still...
SmartUnderline is an open-source JavaScript library which uses clever tricks to draw underlines in a more beautiful and readable...
Insanely detailled guide about controlling copy & paste behavior using web technology in 2015. Note that you can now trigger a...
Developing complex regular expressions quickly blows my mind. Here are some online regex editors that help you by highlighting matching...
When you register a delegated event using on (or the deprecated delegate / live), it is somewhat hard to manually trigger...
All major browsers (IE8+, FF3.5+, Safari 4+, any Chrome) support sessionStorage, a JavaScript storage object that survives page reloads and...
Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...
Datetime picker that offers: simple UI without a specific framework several of customization options allows custom date/time validations Localization happens...
Small (1.5 KB) Javascript library that lets you render tables, lists, etc. with hundreds of thousands of items.
When ending a Selenium test Capybara resets the browser state by closing the tab, clearing cookies, localStorage, etc.
If you are using Coffeescript, it is likely to be the culprit. Since Coffeescript always returns the value of...
Webfonts are not always available when your JavaScript runs on first page load. Since fonts may affect element sizes, you...
jQuery doesn't store information about event listeners and data values with the element itself. This information is instead stored...
This guide shows how to create an AngularJS application that consumes more and more memory until, eventually, the browser process...
The easiest way to detect touch-capable browsers is to check for the presence of touch events. It is no...
The Javascript in operator does what Hash#has_key? does in Ruby: Return whether an object has a property.
Here is a Javascript function reloadUsers() that fetches a HTML snippet from the server using AJAX and replaces the current...
When testing code that uses pushState / replaceState, your browser will appear to navigate away from http://localhost:3000/specs (or wherever...