mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-05-16 08:20:56 -04:00
Merge pull request #2416 from adroitwhiz/no-relativetime
Remove Timer.relativeTime
This commit is contained in:
commit
15cdd2f69a
2 changed files with 1 additions and 21 deletions
test/fixtures
9
test/fixtures/mock-timer.js
vendored
9
test/fixtures/mock-timer.js
vendored
|
@ -78,15 +78,6 @@ class MockTimer {
|
|||
return this._mockTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a time accurate relative to other times produced by this function.
|
||||
* @returns {number} ms-scale accurate time relative to other relative times.
|
||||
* @memberof MockTimer
|
||||
*/
|
||||
relativeTime () {
|
||||
return this._mockTime;
|
||||
}
|
||||
|
||||
/**
|
||||
* Start a timer for measuring elapsed time.
|
||||
* @memberof MockTimer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue