Skip to content

Commit

Permalink
appease jshint
Browse files Browse the repository at this point in the history
  • Loading branch information
SamSaffron committed Dec 30, 2013
1 parent 8ec887e commit 65014a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/assets/javascripts/discourse/lib/formatter.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ Discourse.Formatter = (function(){
var args = Array.prototype.slice.call(arguments),
hash = "",
i = args.length;
currentArg = null;
var currentArg = null;
while (i--) {
currentArg = args[i];
hash += (currentArg === Object(currentArg)) ?
hash += (currentArg === new Object(currentArg)) ?
JSON.stringify(currentArg) : currentArg;
if(!fn.memoize) {
fn.memoize = {};
Expand Down

0 comments on commit 65014a0

Please sign in to comment.