From b3921fb72ef2d62b62bb517046c58bf91f9e380b Mon Sep 17 00:00:00 2001 From: liabru Date: Sun, 25 Jan 2015 15:14:51 +0000 Subject: [PATCH] added Matter.World extends Matter.Composite to docs --- src/body/World.js | 1 + src/core/Common.js | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/body/World.js b/src/body/World.js index 0b890d6..12d1d07 100644 --- a/src/body/World.js +++ b/src/body/World.js @@ -9,6 +9,7 @@ * and [DemoMobile.js](https://github.com/liabru/matter-js/blob/master/demo/js/DemoMobile.js) for usage examples. * * @class World +* @extends Composite */ var World = {}; diff --git a/src/core/Common.js b/src/core/Common.js index 5087f09..c6a4db9 100644 --- a/src/core/Common.js +++ b/src/core/Common.js @@ -256,8 +256,6 @@ var Common = {}; if (!console || !console.log || !console.warn) return; - var style; - switch (type) { case 'warn':