Skip to content

Commit 554fe07

Browse files
committed
1 parent ce66027 commit 554fe07

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

astar.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ var astar = {
152152

153153
/**
154154
* A graph memory structure
155-
* @param {Array} gridIn: 2D array of input weights
156-
* @param {Object} options:
157-
* - diagonal: Specifies whether diagonal moves are allowed.
155+
* @param {Array} gridIn 2D array of input weights
156+
* @param {Object} [options]
157+
* @param {bool} [options.diagonal] Specifies whether diagonal moves are allowed
158158
*/
159159
function Graph(gridIn, options) {
160160
options = options || {};

0 commit comments

Comments
 (0)