mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
appease jshint
This commit is contained in:
parent
8ec887e9cf
commit
65014a03ca
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue