lshift/diffa — pull request #55 by paulj (2012-03-08 22:20:38+00:00)
Title: jQuery.query compatibility fix

For some reason, the jQuery.query plugin isn't behaving properly when assembling items into a string under my browser (Firefox 10). When it iterates the key map, jQuery seems to be treating it like an array instead of a hash, and results in nonsense keys being provided.

This patch changes the loop to use a native javascript for-loop, which behaves sensibly in both my browser (Firefox 10 and Chrome 17).