The Ace editor is a great enhancement when you want users to supply some kind of code (HTML, JavaScript, Ruby...
A very clever hack to parse a structured URL object is to create a element and set its href to...
So I had the issue that User input (coming from many different sources and users) often contains the...
Let's say you want to merge the properties of two JavaScript objects: let a = { foo: 1, bar: 2 }
When a Rails controller action should handle both HTML and JSON responses, do not use request.xhr? to decide that. Use...
Katapult 0.3.0 brings Rails 5 and Ruby 2.5 support with a new design, plus a ton of smaller features, fixes...
The attached Coffeescript helper will let you create mouse events: $element = $('div') Trigger.mouseover($element) Trigger.mouseenter($element) Trigger.mousedown($element) Trigger.mouseup($element...