mirror of
https://github.com/liabru/matter-js.git
synced 2024-12-02 10:49:45 -05:00
fix Matter.Engine.create docs to show element param is optional
This commit is contained in:
parent
afd7531fe4
commit
e2e7c0b10d
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ var Body = require('../body/Body');
|
||||||
* All properties have default values, and many are pre-calculated automatically based on other properties.
|
* 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.
|
* See the properties section below for detailed information on what you can pass via the `options` object.
|
||||||
* @method create
|
* @method create
|
||||||
* @param {HTMLElement} element
|
* @param {HTMLElement} [element]
|
||||||
* @param {object} [options]
|
* @param {object} [options]
|
||||||
* @return {engine} engine
|
* @return {engine} engine
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue