mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
Makes singleton variable name of PointerLockManager 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
3cb2e39a18
commit
ce01c8888e
5 changed files with 11 additions and 11 deletions
|
|
@ -18,7 +18,7 @@ define([
|
|||
"Lib/Utilities/Exception"
|
||||
],
|
||||
|
||||
function (Parent, Box2D, PhysicsEngine, ViewManager, PlayerController, nc, requestAnimFrame, Settings, GameObject, Doll, domController, ProtocolHelper, Me, AudioPlayer, PointerLockManager, Assert, Exception) {
|
||||
function (Parent, Box2D, PhysicsEngine, ViewManager, PlayerController, nc, requestAnimFrame, Settings, GameObject, Doll, domController, ProtocolHelper, Me, AudioPlayer, pointerLockManager, Assert, Exception) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
@ -244,7 +244,7 @@ function (Parent, Box2D, PhysicsEngine, ViewManager, PlayerController, nc, reque
|
|||
};
|
||||
|
||||
GameController.prototype.onLevelLoaded = function () {
|
||||
PointerLockManager.update(null, {start:true});
|
||||
pointerLockManager.update(null, {start:true});
|
||||
};
|
||||
|
||||
GameController.prototype.toggleGameStats = function(show) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue