0
0
Fork 0
mirror of https://github.com/liabru/matter-js.git synced 2024-12-27 13:59:01 -05:00

fix Matter.Engine.create docs to show element param is optional

This commit is contained in:
liabru 2016-04-18 00:22:09 +01:00
parent afd7531fe4
commit e2e7c0b10d

View file

@ -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
*/