0
0
Fork 0
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:
liabru 2014-05-05 18:18:15 +01:00
parent c28c9cde69
commit 8b6b623369

View file

@ -19,8 +19,10 @@
Query = Matter.Query;
// MatterTools aliases
var Gui = MatterTools.Gui,
Inspector = MatterTools.Inspector;
if (window.MatterTools) {
var Gui = MatterTools.Gui,
Inspector = MatterTools.Inspector;
}
var Demo = {};