mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 18:47:35 +00:00
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:
parent
875a40185e
commit
ffc55a204a
7 changed files with 15 additions and 16 deletions
|
|
@ -6,7 +6,7 @@ define([
|
|||
"Game/Client/Control/Swiper"
|
||||
],
|
||||
|
||||
function (Parent, KeyboardInput, DomController, Settings, Swiper) {
|
||||
function (Parent, KeyboardInput, domController, Settings, Swiper) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
@ -122,7 +122,7 @@ function (Parent, KeyboardInput, DomController, Settings, Swiper) {
|
|||
};
|
||||
|
||||
KeyboardAndMouse.prototype.mouseInit = function() {
|
||||
var canvas = DomController.getCanvas();
|
||||
var canvas = domController.getCanvas();
|
||||
var self = this;
|
||||
|
||||
canvas.onmousedown = function(e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue