Skip to content

Commit

Permalink
fix: syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyadam committed May 2, 2018
1 parent cb2efde commit 1f8d0a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/nerv/src/event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const unbubbleEvents = {
onwaiting: 1
}

let bindFocus = false
const bindFocus = false
declare global {
interface Event {
persist: Function
Expand Down Expand Up @@ -167,7 +167,7 @@ export function detachEvent (
let propertyChangeActiveElement
let propertyChangeActiveElementValue
let propertyChangeActiveElementValueProp
let propertyChangeActiveHandlers = {}
const propertyChangeActiveHandlers = {}

/* istanbul ignore next */
function propertyChangeHandler (event) {
Expand All @@ -181,7 +181,7 @@ function propertyChangeHandler (event) {
}
propertyChangeActiveElementValue = val
const handler = propertyChangeActiveHandlers[target.name]
if (isFunction(handler) {
if (isFunction(handler)) {
handler.call(target, event)
}
}
Expand Down

0 comments on commit 1f8d0a1

Please sign in to comment.