From 077fcf719b1a9383b4170f33a77c95024d6f7188 Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Mon, 3 Sep 2018 22:48:46 -0500 Subject: Continue code cleanup --- .eslintrc.js | 36 +++++++++++ webAO/client.html | 46 +++++++------- webAO/client.js | 176 +++++++++++++++++++++++++++--------------------------- 3 files changed, 148 insertions(+), 110 deletions(-) create mode 100644 .eslintrc.js diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..c3c75e8 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,36 @@ +module.exports = { + "env": { + "browser": true, + "es6": true, + "jquery": true + }, + "extends": "eslint:recommended", + "parserOptions": { + "ecmaVersion": 2016, + "sourceType": "module" + }, + "rules": { + "indent": [ + "error", + "tab" + ], + "linebreak-style": [ + "error", + "unix" + ], + "quotes": [ + "warn", + "double" + ], + "semi": [ + "error", + "always" + ], + "no-console": [ + "off" + ], + "no-unused-vars": [ + "warn" + ] + } +}; \ No newline at end of file diff --git a/webAO/client.html b/webAO/client.html index 2343264..3db7762 100644 --- a/webAO/client.html +++ b/webAO/client.html @@ -55,9 +55,9 @@
- Hold it! - OBJECTION! - Take That! + Hold it! + OBJECTION! + Take That!

@@ -75,21 +75,21 @@

- Flip + Flip - Flash - Shake + Flash + Shake
Action Commands

- + report
Call Mod
@@ -130,23 +130,23 @@
↓ Main Menu ↓
- + work
Evidence
- + room
Location
- + settings
Settings
- + description
Guide
- + person
About
@@ -176,16 +176,16 @@

- Add Evidence - Edit Evidence - Cancel Evidence - Remove Evidence + Add Evidence + Edit Evidence + Cancel Evidence + Remove Evidence

- Present + Present
@@ -341,9 +341,11 @@ -
+

- They might be very busy. Are you sure?

+ + Are you sure you want to call a moderator? +

@@ -354,7 +356,7 @@
- +