Fix table node API docs (#5204)

This commit is contained in:
Yota Toyama 2018-10-01 06:45:05 -07:00 committed by Huyen Chau Nguyen
parent 72e03f9af9
commit a53da9095a

View File

@ -363,7 +363,7 @@ NAN_METHOD(Engine::nearest) //
* @param {Function} callback
*
* @returns {Object} containing `durations`, `sources`, and `destinations`.
* @returns {Object} containing `durations`, `distances`, `sources`, and `destinations`.
* **`durations`**: array of arrays that stores the matrix in row-major order. `durations[i][j]` gives the travel time from the i-th waypoint to the j-th waypoint.
* Values are given in seconds.
* **`distances`**: array of arrays that stores the matrix in row-major order. `distances[i][j]` gives the travel time from the i-th waypoint to the j-th waypoint.