Makes singleton variable name of OptionsHelper lowercase

When we require a singleton, its instance name should be named
by lowercase, since it is not a class.

Relates to #128
This commit is contained in:
logsol 2016-10-10 23:11:18 +02:00
parent 05c4e4de81
commit 5b3bfd4370
6 changed files with 13 additions and 13 deletions

View file

@ -7,7 +7,7 @@
"Game/Config/Settings"
],
function (GameController, nc, User, ProtocolHelper, OptionsHelper, Settings) {
function (GameController, nc, User, ProtocolHelper, optionsHelper, Settings) {
"use strict";
@ -21,7 +21,7 @@
this.levelListIndex = -1;
this.gameController = null;
this.options = options = OptionsHelper.merge(options, {
this.options = options = optionsHelper.merge(options, {
levelUids: Settings.CHANNEL_DEFAULT_LEVELS
});