Makes singleton object variable names of DomController first letter 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 21:50:03 +02:00
parent 875a40185e
commit ffc55a204a
7 changed files with 15 additions and 16 deletions

View file

@ -6,7 +6,7 @@ define([
"Lib/Utilities/NotificationCenter"
],
function (Abstract, DomController, Settings, Exception, Nc) {
function (Abstract, domController, Settings, Exception, Nc) {
"use strict";
@ -47,7 +47,7 @@ function (Abstract, DomController, Settings, Exception, Nc) {
AbstractView.prototype.initCanvas = function (canvas) {
this.canvas = canvas;
DomController.initCanvas(canvas);
domController.initCanvas(canvas);
}
AbstractView.prototype.setMe = function(player) {