1/** 2 * Copyright 2013-2014, Facebook, Inc. 3 * All rights reserved. 4 * 5 * This source code is licensed under the BSD-style license found in the 6 * LICENSE file in the root directory of this source tree. An additional grant 7 * of patent rights can be found in the PATENTS file in the same directory. 8 * 9 * @providesModule mergeInto 10 * @typechecks static-only 11 */ 12 13"use strict"; 14 15var assign = require('Object.assign'); 16 17module.exports = assign; 18 19// deprecation notice 20console.warn( 21 'react/lib/mergeInto has been deprecated and will be removed in the ' + 22 'next version of React. All uses can be replaced with ' + 23 'Object.assign(a, b, c, ...) or _.extend(a, b, c, ...).' 24); 25 26