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
|
|
@ -5,7 +5,7 @@ define([
|
|||
"Lib/Vendor/Box2D"
|
||||
],
|
||||
|
||||
function(Parent, Settings, DomController, Box2D) {
|
||||
function (Parent, Settings, DomController, Box2D) {
|
||||
|
||||
function Engine () {
|
||||
Parent.call(this);
|
||||
|
|
@ -15,7 +15,7 @@ function(Parent, Settings, DomController, Box2D) {
|
|||
}
|
||||
}
|
||||
|
||||
Engine.prototype.setupDebugDraw = function() {
|
||||
Engine.prototype.setupDebugDraw = function () {
|
||||
//var debugSprite = Settings.DEBUG_DRAW_CANVAS_SPRITE;
|
||||
var debugSprite = DomController.getDebugCanvas().getContext("2d");
|
||||
|
||||
|
|
@ -42,7 +42,7 @@ function(Parent, Settings, DomController, Box2D) {
|
|||
}
|
||||
|
||||
|
||||
Engine.prototype.update = function() {
|
||||
Engine.prototype.update = function () {
|
||||
Parent.prototype.update.call(this);
|
||||
|
||||
this.world.DrawDebugData();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue