mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
appease jshint
This commit is contained in:
parent
8ec887e9cf
commit
65014a03ca
@ -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 = {};
|
||||||
|
Loading…
Reference in New Issue
Block a user