mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
changed function( to function (
This commit is contained in:
parent
26f3d22db7
commit
7e5eeb0a27
36 changed files with 209 additions and 209 deletions
|
|
@ -1,11 +1,11 @@
|
|||
define(['Game/Config/Settings'], function(Settings) {
|
||||
define(['Game/Config/Settings'], function (Settings) {
|
||||
|
||||
var DomController = {
|
||||
canvas: null,
|
||||
debugCanvas: null
|
||||
};
|
||||
|
||||
DomController.getCanvasContainer = function(){
|
||||
DomController.getCanvasContainer = function (){
|
||||
var container = document.getElementById(Settings.CANVAS_DOM_ID);
|
||||
|
||||
if(container) {
|
||||
|
|
@ -15,11 +15,11 @@ define(['Game/Config/Settings'], function(Settings) {
|
|||
}
|
||||
}
|
||||
|
||||
DomController.getCanvas = function(){
|
||||
DomController.getCanvas = function (){
|
||||
return DomController.canvas;
|
||||
}
|
||||
|
||||
DomController.setCanvas = function(canvas){
|
||||
DomController.setCanvas = function (canvas){
|
||||
|
||||
var container = DomController.getCanvasContainer();
|
||||
if(DomController.canvas){
|
||||
|
|
@ -30,11 +30,11 @@ define(['Game/Config/Settings'], function(Settings) {
|
|||
container.appendChild(canvas);
|
||||
}
|
||||
|
||||
DomController.getDebugCanvas = function(){
|
||||
DomController.getDebugCanvas = function (){
|
||||
return DomController.debugCanvas;
|
||||
}
|
||||
|
||||
DomController.createDebugCanvas = function(){
|
||||
DomController.createDebugCanvas = function (){
|
||||
|
||||
var container = DomController.getCanvasContainer();
|
||||
if(DomController.debugCanvas){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue