mirror of
https://github.com/apache/cordova-android.git
synced 2026-05-30 00:00:04 +08:00
updated bundled node_modules
This commit is contained in:
+1
-2
@@ -40,8 +40,7 @@ module.exports.forwardEventsTo = function (eventEmitter) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!(eventEmitter instanceof EventEmitter))
|
||||
throw new Error('Cordova events can be redirected to another EventEmitter instance only');
|
||||
if (!(eventEmitter instanceof EventEmitter)) { throw new Error('Cordova events can be redirected to another EventEmitter instance only'); }
|
||||
|
||||
// CB-10940 Skipping forwarding to self to avoid infinite recursion.
|
||||
// This is the case when the modules are npm-linked.
|
||||
|
||||
Reference in New Issue
Block a user