Fixed a few spelling errors and whitespace (#3)

* linting, spelling errors
This commit is contained in:
redthefed
2018-02-28 23:51:21 -06:00
committed by GitHub
parent 78df5491a0
commit bd0cd9900d
7 changed files with 174 additions and 186 deletions

View File

@@ -9,7 +9,7 @@ CM.SaveConfig = function(config) {
CM.LoadConfig = function() {
if (localStorage.getItem(CM.ConfigPrefix) != null) {
CM.Config = JSON.parse(localStorage.getItem(CM.ConfigPrefix));
// Check values
var mod = false;
for (var i in CM.ConfigDefault) {
@@ -56,8 +56,8 @@ CM.LoadConfig = function() {
}
}
}
else { // Default values
CM.RestoreDefault();
else { // Default values
CM.RestoreDefault();
}
}
@@ -147,4 +147,3 @@ CM.ConfigData.UpStats = {label: ['Statistics Update Rate (Default)', 'Statistics
CM.ConfigData.TimeFormat = {label: ['Time XXd, XXh, XXm, XXs', 'Time XX:XX:XX:XX:XX'], desc: 'Change the time format', toggle: false};
CM.ConfigData.SayTime = {label: ['Format Time OFF', 'Format Time ON'], desc: 'Change how time is displayed in statistics', toggle: true, func: function() {CM.Disp.ToggleSayTime();}};
CM.ConfigData.Scale = {label: ['Game\'s Setting Scale', 'Metric', 'Short Scale', 'Scientific Notation'], desc: 'Change how long numbers are handled', toggle: false, func: function() {CM.Disp.RefreshScale();}};