mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
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:
parent
05c4e4de81
commit
5b3bfd4370
6 changed files with 13 additions and 13 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue