Working with lists in Javascript is painful because the native Array class is so poorly designed. One way to reduce the pain is to to use Underscore.js's functions like...
There seems to be no way to use therubyracer -v '0.11.4' and libv8 -v '3.11.8.17' on OS X Mavericks.
...secure and HttpOnly (keeping them from being sent over HTTP and protecting them from Javascript) rewrite all client cookies once, making them secure and HttpOnly notification if a request has...
bower-rails is a great solution for managing vendored assets in your Rails app. It feels especially much more convenient...
Runs Cucumber under bundle exec Uses an old version of Firefox for Selenium (Javascript) features if you setup your system that way Runs features in parallel if parallel_tests...
In RubyMine folders can be excluded from search, navigation etc. by marking it as excluded. You might sometimes wish to...
I ran into a situation in which I received the yarn integrity check warning when starting the rails console even...
Issue: You have an app using jsbundling-rails and esbuild. After deploy, the assets built by esbuild are missing in...
Great look at the tradeoffs between progressive enhancement with jQuery or similiar, vs. client-side views.
Currently not possible as the linked .htc file contains JavaScript which is not explicitly called. The developers are working on a pure JavaScript solution which will have some downsides but...
...Often you’ll want to run only some scenarios with a driver that supports JavaScript, Capybara makes this easy: simply tag the scenario (or feature) with @javascript...
This will give the target site full access to your Javascript environment through window.opener, if the target is on the same domain. Even if the target site is on another...
Today I ran into trouble installing therubyracer on Ruby 1.8. The installation failed with *** extconf.rb failed *** Could not create Makefile...
Some older Node modules rely on window.jQuery to be present. One suggested solution is to use this config in the...
It is possible to access Rails config (for example secrets) from within your webpack bundles, thanks to rails-erb-loader...
I got these warnings while deploying a Rails 3.2 app with asset pipeline enabled: *** [err :: host.tld] find: `/opt/www/hollyapp.com/releases/20120503115342/public/images': No such...
...aka least harmful) submit element before others. NB: If you submit a form via JavaScript none of the buttons' attributes will be submitted...
Using this step definition you can check if any form field (text field, checkbox, etc) or button is disabled:
If bower complains about a missing node binary, do not install Ubuntu's node package. Instead, you need to create...
In Webkit you can use the HTML5-attribute autofocus: = form.text_field :title, :autofocus => 'autofocus' Here is a jQuery fallback for...
The bin/webpack-dev-server command is not as smart as e.g. rails server, where it shows the proper fix within the error...
Learn how to create offline applications with service workers. The amazing power of service workers Writing your first service worker...
By default, only application.js, application.css and all non-JS/CSS files are precompiled into public/assets. If you have asset manifests...
Some browsers define window.event, which will return a copy of the "current" event. However, this is not defined by the...