[ReactNative] Replace all the call sites of mergeInto by Object.assign

This commit is contained in:
Christopher Chedeau 2015-03-01 16:50:46 -08:00
parent 3b11b9d6c3
commit ea6bfbb7d6
1 changed files with 1 additions and 2 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;
}