chore: fix comment typos (#94)

This commit is contained in:
Carlos Rodrigues
2019-10-05 15:35:19 +01:00
committed by Evan You
parent 12abcba2c5
commit 23ff681418
8 changed files with 12 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
// compiler should normlaize class + :class bindings on the same element
// compiler should normalize class + :class bindings on the same element
// into a single binding ['staticClass', dynamic]
export function patchClass(el: Element, value: string, isSVG: boolean) {

View File

@@ -18,7 +18,7 @@ type EventValue = (Function | Function[]) & {
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 (
@@ -32,7 +32,7 @@ if (
}
// To avoid the overhead of repeatedly calling performance.now(), we cache
// and use the same timestamp for all event listners attached in the same tick.
// and use the same timestamp for all event listeners attached in the same tick.
let cachedNow: number = 0
const p = Promise.resolve()
const reset = () => {