mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-02 18:58:42 -04:00
Play with flow type checker
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
"plugins": [
|
||||
["transform-react-jsx", {
|
||||
"pragma": "JSX.createElement"
|
||||
}]
|
||||
}],
|
||||
"syntax-flow",
|
||||
"transform-flow-strip-types"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user