appease jshint

This commit is contained in:
Sam 2013-12-30 19:50:52 +11:00
parent 8ec887e9cf
commit 65014a03ca

View File

@ -24,10 +24,10 @@ Discourse.Formatter = (function(){
var args = Array.prototype.slice.call(arguments), var args = Array.prototype.slice.call(arguments),
hash = "", hash = "",
i = args.length; i = args.length;
currentArg = null; var currentArg = null;
while (i--) { while (i--) {
currentArg = args[i]; currentArg = args[i];
hash += (currentArg === Object(currentArg)) ? hash += (currentArg === new Object(currentArg)) ?
JSON.stringify(currentArg) : currentArg; JSON.stringify(currentArg) : currentArg;
if(!fn.memoize) { if(!fn.memoize) {
fn.memoize = {}; fn.memoize = {};