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
|
|
@ -6,7 +6,7 @@ define([
|
|||
"Lib/Utilities/QuerySelector"
|
||||
],
|
||||
|
||||
function (Settings, ColorConverter, Exception, PointerLockManager, Qs) {
|
||||
function (Settings, ColorConverter, Exception, pointerLockManager, Qs) {
|
||||
|
||||
"use strict";
|
||||
|
||||
|
|
@ -404,7 +404,7 @@ function (Settings, ColorConverter, Exception, PointerLockManager, Qs) {
|
|||
clearInterval(instance.channelDestructionTimeout);
|
||||
}
|
||||
|
||||
PointerLockManager.request();
|
||||
pointerLockManager.request();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -427,7 +427,7 @@ function (Settings, ColorConverter, Exception, PointerLockManager, Qs) {
|
|||
}
|
||||
|
||||
Qs.$("#canvas").onclick = function(){
|
||||
PointerLockManager.request();
|
||||
pointerLockManager.request();
|
||||
};
|
||||
|
||||
return Menu;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue