Don't send bogus values to the app
Reviewed By: tadeuzagallo Differential Revision: D3035881 fb-gh-sync-id: 6dc0018cd78195b34a782c21294f339026018ea6 shipit-source-id: 6dc0018cd78195b34a782c21294f339026018ea6
This commit is contained in:
parent
225899dcf0
commit
2c6a81d445
|
@ -33,7 +33,7 @@ onmessage = function(message) {
|
|||
handler(object, sendReply);
|
||||
} else {
|
||||
// Other methods get called on the bridge
|
||||
var returnValue = [[], [], [], [], []];
|
||||
var returnValue = [[], [], [], 0];
|
||||
try {
|
||||
if (typeof __fbBatchedBridge === 'object') {
|
||||
returnValue = __fbBatchedBridge[object.method].apply(null, object.arguments);
|
||||
|
|
Loading…
Reference in New Issue