Skip to content

Commit e2e7c0b

Browse files
committed
fix Matter.Engine.create docs to show element param is optional
1 parent afd7531 commit e2e7c0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/Engine.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var Body = require('../body/Body');
3232
* All properties have default values, and many are pre-calculated automatically based on other properties.
3333
* See the properties section below for detailed information on what you can pass via the `options` object.
3434
* @method create
35-
* @param {HTMLElement} element
35+
* @param {HTMLElement} [element]
3636
* @param {object} [options]
3737
* @return {engine} engine
3838
*/

0 commit comments

Comments
 (0)