mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-23 09:26:51 -05:00
added check for MatterTools to Demo
This commit is contained in:
parent
c28c9cde69
commit
8b6b623369
1 changed files with 4 additions and 2 deletions
|
@ -19,8 +19,10 @@
|
||||||
Query = Matter.Query;
|
Query = Matter.Query;
|
||||||
|
|
||||||
// MatterTools aliases
|
// MatterTools aliases
|
||||||
|
if (window.MatterTools) {
|
||||||
var Gui = MatterTools.Gui,
|
var Gui = MatterTools.Gui,
|
||||||
Inspector = MatterTools.Inspector;
|
Inspector = MatterTools.Inspector;
|
||||||
|
}
|
||||||
|
|
||||||
var Demo = {};
|
var Demo = {};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue