Add missing return, FIX #9886

Summary:
cc sahrens

FIX #9886
Closes https://github.com/facebook/react-native/pull/9938

Differential Revision: D3875766

Pulled By: sahrens

fbshipit-source-id: c3eb7f8203db80403de3b789eea907651bc333da
This commit is contained in:
leeight 2016-09-15 22:35:06 -07:00 committed by Facebook Github Bot 1
parent 44b0e6b91f
commit 5d35df8afa

View File

@ -101,7 +101,7 @@ var InteractionManager = {
then: promise.then.bind(promise),
done: (...args) => {
if (promise.done) {
promise.done(...args);
return promise.done(...args);
} else {
console.warn('Tried to call done when not supported by current Promise implementation.');
}