Skip to content

Commit 78606b8

Browse files
committed
CallbackProperty callback can be called w/o time
1 parent 978b43f commit 78606b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/DataSources/CallbackProperty.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ CallbackProperty.prototype.equals = function (other) {
103103
* A function that returns the value of the property.
104104
* @callback CallbackProperty.Callback
105105
*
106-
* @param {JulianDate} [time] The time for which to retrieve the value.
107-
* @param {Object} [result] The object to store the value into, if omitted, a new instance is created and returned.
108-
* @returns {Object} The modified result parameter or a new instance if the result parameter was not supplied or is unsupported.
106+
* @param {JulianDate} time The time for which to retrieve the value.
107+
* @param {Object} [result] The object to store the value into. If omitted, the function must create and return a new instance.
108+
* @returns {Object} The modified result parameter, or a new instance if the result parameter was not supplied or is unsupported.
109109
*/
110110
export default CallbackProperty;

0 commit comments

Comments
 (0)