Updates from Mon Mar 2

- [ReactNative] Move merge & mergeInto from downstream to vendor | Christopher Chedeau
- [ReactNative] Replace all the call sites of mergeInto by Object.assign | Christopher Chedeau
- [WIP] Migrated View Managers over to new architecture | Nick Lockwood
- [ReactNative] Replace all the call sites of copyProperties by Object.assign | Christopher Chedeau
- [ReactNative] Migrate navigator.geolocation to open source | Christopher Chedeau
- [ReactNative] Remove README.md, LICENSE and .travis.yml from fbobjc | Christopher Chedeau
- [react-packager] Better transform errors | Amjad Masad
- [React Native][react-packager] Fix test runner and fialing tests | Amjad Masad
This commit is contained in:
Christopher Chedeau
2015-03-02 11:36:55 -08:00
parent 0b09ed0667
commit 7060141247
109 changed files with 9051 additions and 8540 deletions

View File

@@ -8,7 +8,6 @@
var NativeModules = require('NativeModules');
var invariant = require('invariant');
var mergeInto = require('mergeInto');
var dimensions = NativeModules.RKUIManager.Dimensions;
@@ -19,7 +18,7 @@ class Dimensions {
* @param {object} dims Simple string-keyed object of dimensions to set
*/
static set(dims) {
mergeInto(dimensions, dims);
Object.assign(dimensions, dims);
return true;
}