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 @@ define([
"fs"
],
function (nc, ProtocolHelper, validate, OptionsHelper, Settings, FileSystem) {
function (nc, ProtocolHelper, validate, optionsHelper, Settings, FileSystem) {
"use strict";
@ -121,7 +121,7 @@ function (nc, ProtocolHelper, validate, OptionsHelper, Settings, FileSystem) {
scoreLimit: Settings.CHANNEL_DEFAULT_SCORE_LIMIT
};
options = OptionsHelper.merge(options, defaultOptions);
options = optionsHelper.merge(options, defaultOptions);
var result = this.coordinator.createChannel(options);
if(result !== false) {