Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Commit

Permalink
docs(change): fix jsDoc comment on Lite
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Sep 25, 2017
1 parent 15b6cde commit 48486e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ts/lite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,12 @@ class Lite {

/**
* Start the tweening
* @param {number} time setting manual time instead of Current browser timestamp
* @param {number|string} time setting manual time instead of Current browser timestamp or like `+1000` relative to current timestamp
* @example tween.start()
* @memberof Lite
* @memberof Tween
*/
public start(time?: number) {
this._startTime =
this._startTime =
time !== undefined
? typeof time === 'string' ? now() + parseFloat(time) : time
: now();
Expand Down

0 comments on commit 48486e9

Please sign in to comment.