mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-21 19:11:22 +08:00
Convert react-native-github/Libraries to let/const
Reviewed By: sahrens Differential Revision: D7961763 fbshipit-source-id: ff7dd1d2c7101c8019e0b4f844d8c377b4d13a13
This commit is contained in:
committed by
Facebook Github Bot
parent
dca21c8f23
commit
cd7c91f35d
@@ -249,7 +249,7 @@ class MessageQueue {
|
||||
global.nativeFlushQueueImmediate &&
|
||||
now - this._lastFlush >= MIN_TIME_BETWEEN_FLUSHES_MS
|
||||
) {
|
||||
var queue = this._queue;
|
||||
const queue = this._queue;
|
||||
this._queue = [[], [], [], this._callID];
|
||||
this._lastFlush = now;
|
||||
global.nativeFlushQueueImmediate(queue);
|
||||
|
||||
Reference in New Issue
Block a user