浏览代码

Removed unneeded brackets

Jonathan 8 年之前
父节点
当前提交
b2b8fa8ce5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      backend/logic/global.js

+ 1 - 1
backend/logic/global.js

@@ -44,7 +44,7 @@ class Timer {
 module.exports = {
 module.exports = {
 	io: null, // Socket.io
 	io: null, // Socket.io
 	db: null, // Database
 	db: null, // Database
-	htmlEntities: (str) => {
+	htmlEntities: str => {
 		return String(str).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
 		return String(str).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
 	},
 	},
 	Timer
 	Timer