css-tricks.com

The difference is that return false; takes things a bit further in that it also prevents that event from propagating...

css3pie.com

CSS Level 3 brings with it some incredibly powerful styling features. Rounded corners, soft drop shadows, gradient fills, and so...

robots.thoughtbot.com

We didn’t want to leave front-end developers in the dark when their Javascript throws errors, so we’ve...

github.com

Run your Jasmine specs without a browser

github.com

The Holy Grail of testing for front-end development; execute browser-less, console-based, javascript + DOM code right from within...

github.com

Johnson wraps JavaScript in a loving Ruby embrace. It embeds the Mozilla SpiderMonkey JavaScript runtime as a C extension.

This is more tricky than it should be because url_for, asset_path, etc. all rely on different mechanisms.

Attached (see below) is some code to allow using unobtrusive JavaScript on pages fetched with an AJAX call.

Best results in other decks

This document describes how to swap out the official Rails 6.1 gems with Rails 6.1 LTS. If you have installed...

Parsing weather forecasts from our Weather API is easy and just needs some lines of code. You need to know...

Search in all decks