Some insight into how browser rendering engines work. The article shows how the way you manipulate styles (and the DOM...
When navigating back to a page that was received from a POST request, undesired side effects may happen. Therefore, modern...
Use it like this for inline icons: Germany They also work as block elements:
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...
This jasmine plugin helps with testing DOM manipulation in two ways: It gives you DOM-related matchers like toBeVisible() or...
When running Selenium features with parallel_tests, some browser-server interaction might take longer than usual and the impatient Capybara...
Angular 1.3+ has an alternative getter/setter pattern: You can bind ng-model to an accessor function. This is a function...
JavaScript objects can have getter and setter functions that are called when a property is read from or written to...
This is a problem when using Selenium with Firefox. We recommend using ChromeDriver for your Selenium tests. This setup allows...
Rails includes a way to see what an e-mail will look like. Integration to RSpec All you need to...
jQuery comes with .animate() that lets you transition some CSS selectors: function floatIn($element) { $element.css({ 'opacity': 0, 'margin-top': 200px...
Bourbon is a library of pure Sass mixins that are designed to be simple and easy to use. No configuration...
A set of javascript tools for working with files. It offers different kinds of things: A cross-browser JS API...
Lightweight Angular JS directive to upload files Includes polyfills for old IEs. Unfortunately, their auto-loading mechanism may not work...
If you want a class-like construct in JavaScript, you can use the module pattern below. The module pattern gives...
The benefit of the Rails asset pipeline is that it compiles your stylesheets and javascripts to a single file, respectively...
The Rails asset pipeline improves delivery of application assets (javascripts, stylesheets, images, fonts). Here are some basic facts about its...
When you run code inside a $watch expression that forces a repaint (e.g. by computing an element's width, or...
Clamps (ie. cuts off) an HTML element's content by adding ellipsis to it if the content inside is too...
Starting Terminator with split screens is quite simple: Just store a layout and start Terminator with the --layout option.
An amped-up alternative to Turbolinks that differs in points like this: It's opt-in instead of opt-out...
By default, Twitter Bootstrap's print styles include printing links. /* Bootstrap's way of printing URLs */ @media print {
Javascript library for drag'n'drop that seems to have more options than native HTML5 drag'n'drop.