mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-14 12:11:47 +08:00
debuggerWorker.js contains code incompatible with node 5
Summary: Hi, This is a small fix for issue #10564. Closes https://github.com/facebook/react-native/pull/10571 Differential Revision: D4086542 fbshipit-source-id: a50b4b3afdefe4abfe64869768ce51c6c628708a
This commit is contained in:
committed by
Facebook Github Bot
parent
82911a8204
commit
a16d72842d
@@ -15,7 +15,7 @@ var messageHandlers = {
|
||||
for (var key in message.inject) {
|
||||
self[key] = JSON.parse(message.inject[key]);
|
||||
}
|
||||
let error;
|
||||
var error;
|
||||
try {
|
||||
importScripts(message.url);
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user