A co-worker came up with an interesting problem today. What’s the cheapest and easiest way to save relatively low traffic text content without having to create a server side component for it. After thinking about it for a bit, I … Continued
Author Archives: tednaleid
Calling GruntJS tasks from Gradle
Gradle is a great build tool with a large community for developing JVM-based applications, but one area that it seems to be lacking strong support is in front-end tooling. The Node.js community’s strength is front-end tooling with a number of … Continued
Overriding Backbone.js sync to allow Cross Origin Resource Sharing (CORS) withCredentials
So I’m apparently starting a series of Backbone.js posts wherein I’m documenting all the BackboneJS/JavaScript stuff I’m figuring out that I couldn’t find easily in the googles. Today’s installment is how to globally override Backbone’s sync method to allow Cross … Continued
Getting CoffeeScript compilation working in Gradle
Gradle 1.2 includes support for compiling CoffeeScript but it’s not well documented, there’s nothing on the gradle website and all I was able to find after a bunch of googling was a gradle-dev thread where Luke Daley announces the functionality. … Continued
DRY Testing of Require.js based Backbone apps using Jasmine
EDIT: 2/15/2013: Scratch this way of doing it. I didn’t fully understand how requirejs worked in tests when I wrote this. You should instead just be using a define around your tests, which should work very similarly to the rest … Continued