chore: fix typo in scheduler.js [ci skip] (#9425)

This commit is contained in:
katashin 2019-02-06 00:34:16 +08:00 committed by Evan You
parent fdc5f0363b
commit 2ef67f868d

View File

@ -44,7 +44,7 @@ export let currentFlushTimestamp = 0
let getNow: () => number = Date.now
// Determine what event timestamp the browser is using. Annoyingly, the
// timestamp can either be hi-res ( relative to poge load) or low-res
// timestamp can either be hi-res (relative to page load) or low-res
// (relative to UNIX epoch), so in order to compare time we have to use the
// same timestamp type when saving the flush timestamp.
if (inBrowser && getNow() > document.createEvent('Event').timeStamp) {