Play with flow type checker

This commit is contained in:
squidfunk
2017-02-19 17:19:30 +01:00
parent 3e50c3394a
commit af4db15a27
8 changed files with 11375 additions and 2 deletions

View File

@@ -5,6 +5,8 @@
"plugins": [
["transform-react-jsx", {
"pragma": "JSX.createElement"
}]
}],
"syntax-flow",
"transform-flow-strip-types"
]
}

View File

@@ -38,7 +38,7 @@ export default class Blur {
: els
/* Initialize index and page y-offset */
this.index_ = 0
this.index_ = 0
this.offset_ = window.pageYOffset
/* Necessary state to correctly reset the index */