mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
ESlint quotes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
(function (exports) {
|
||||
"use strict";
|
||||
'use strict';
|
||||
|
||||
|
||||
// export the class if we are in a Node-like system.
|
||||
@@ -56,7 +56,7 @@
|
||||
|
||||
helpers.stringify = function (obj) {
|
||||
// Turns the incoming object into a JSON string
|
||||
return JSON.stringify(obj).replace(/&/gm, "&").replace(/</gm, "<").replace(/>/gm, ">").replace(/"/g, '"');
|
||||
return JSON.stringify(obj).replace(/&/gm, '&').replace(/</gm, '<').replace(/>/gm, '>').replace(/"/g, '"');
|
||||
};
|
||||
|
||||
helpers.escape = function (str) {
|
||||
|
||||
Reference in New Issue
Block a user