Skip to content

Commit

Permalink
build: bump flow version
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 authored and ztlevi committed Feb 14, 2018
1 parent 062d348 commit 2e973f4
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 62 deletions.
93 changes: 34 additions & 59 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"eslint-plugin-jasmine": "^2.2.0",
"eslint-plugin-vue-libs": "^1.2.0",
"file-loader": "^0.11.2",
"flow-bin": "^0.48.0",
"flow-bin": "^0.54.0",
"hash-sum": "^1.0.2",
"he": "^1.1.1",
"http-server": "^0.10.0",
Expand Down
5 changes: 3 additions & 2 deletions src/core/util/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const nextTick = (function () {
// UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It
// completely stops working after triggering a few times... so, if native
// Promise is available, we will use it:
/* istanbul ignore if */
/* istanbul ignore if */ // $flow-disable-line
if (typeof Promise !== 'undefined' && isNative(Promise)) {
var p = Promise.resolve()
var logError = err => { console.error(err) }
Expand Down Expand Up @@ -141,6 +141,7 @@ export const nextTick = (function () {
pending = true
timerFunc()
}
// $flow-disable-line
if (!cb && typeof Promise !== 'undefined') {
return new Promise((resolve, reject) => {
_resolve = resolve
Expand All @@ -150,7 +151,7 @@ export const nextTick = (function () {
})()

let _Set
/* istanbul ignore if */
/* istanbul ignore if */ // $flow-disable-line
if (typeof Set !== 'undefined' && isNative(Set)) {
// use native Set when available.
_Set = Set
Expand Down

0 comments on commit 2e973f4

Please sign in to comment.