javascript Archives - CookiesHQ

Lego Star Wars scene with Drone using a laptop and a T scrabble tile
March 20, 2018

Rspec, system test, JavaScript and Select2 recipes

System tests are the new shiny addition in Rspec 3.7. Using them, in combination of headless browsers allows you to (finally) write fast end to end tests. Let's have a…
Read More
Patternbank pattern for clothing
June 28, 2016

Creating a draggable background image

By not thoroughly thinking about how the CSS background property works with percentages, I faced a few problems when using it on a simple tool I worked on recently.
Read More
Dictionary open on page titled Functional
July 30, 2014

Write maintainable JavaScript/CoffeeScript in Rails

When you spend your day writing decent Ruby code, maintaining JavaScript is really a pain. We have partially overcome this problem by isolating the calls. Let's have a look on…
Read More
July 3, 2013

Why Firefox’s decision to make JavaScript mandatory is the tree hiding the forest

We've heard this week that Firefox was going to make JavaScript mandatory. Understand they will remove the option to disable JavaScript from  Firefox 23. Only 2% of internet users have…
Read More