Fix HMR after adding RA-Bundle groups

Summary:
The introduction of groups for random access bundles broke hot module reloading, because HMR uses a different Bundle class. And that didn’t have the `setRamGroups()` method.

This just adds an empty method on the base class.

**Test plan (required)**

I ran `node scripts/run-ci-e2e-tests.js --android`
Closes https://github.com/facebook/react-native/pull/9982

Differential Revision: D3886096

Pulled By: bestander

fbshipit-source-id: 46e6183607b0275d3cfe0d892360248b7b2154e9
This commit is contained in:
David Aurelio 2016-09-19 04:37:34 -07:00 committed by Facebook Github Bot 2
parent 5deb528695
commit fd84447341
1 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,8 @@ class BundleBase {
}
}
setRamGroups() {}
toJSON() {
return {
modules: this._modules,