mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
replaced NotificationCenter with Nc
This commit is contained in:
parent
da913c4709
commit
672a46efa8
35 changed files with 160 additions and 161 deletions
|
|
@ -6,14 +6,14 @@ define([
|
|||
"Lib/Utilities/NotificationCenter"
|
||||
],
|
||||
|
||||
function (Parent, Settings, DomController, Box2D, NotificationCenter) {
|
||||
function (Parent, Settings, DomController, Box2D, Nc) {
|
||||
|
||||
function Engine () {
|
||||
Parent.call(this);
|
||||
|
||||
this.debugMode = false;
|
||||
|
||||
NotificationCenter.on("view/toggleDebugMode", this.onToggleDebugMode, this);
|
||||
Nc.on("view/toggleDebugMode", this.onToggleDebugMode, this);
|
||||
}
|
||||
|
||||
Engine.prototype = Object.create(Parent.prototype);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue