From e2e7c0b10d8b983fc9acef32be0ad7782da0f032 Mon Sep 17 00:00:00 2001 From: liabru Date: Mon, 18 Apr 2016 00:22:09 +0100 Subject: [PATCH] fix Matter.Engine.create docs to show element param is optional --- src/core/Engine.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Engine.js b/src/core/Engine.js index b549f66..3930fc4 100644 --- a/src/core/Engine.js +++ b/src/core/Engine.js @@ -32,7 +32,7 @@ var Body = require('../body/Body'); * All properties have default values, and many are pre-calculated automatically based on other properties. * See the properties section below for detailed information on what you can pass via the `options` object. * @method create - * @param {HTMLElement} element + * @param {HTMLElement} [element] * @param {object} [options] * @return {engine} engine */