Skip to content

Commit

Permalink
mergeInto replaced with object-assign
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Vitullo committed Feb 8, 2015
1 parent dcdb812 commit 26f2e95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/mediaQuery.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var PropTypes = require('react/lib/ReactPropTypes');
var mergeInto = require('react/lib/mergeInto');
var assign = require('object-assign');

var stringOrNumber = PropTypes.oneOfType([
PropTypes.string,
Expand Down Expand Up @@ -71,11 +71,11 @@ var types = {
};

var all = {};
mergeInto(all, types);
mergeInto(all, features);
assign(all, types);
assign(all, features);

module.exports = {
all: all,
types: types,
features: features
};
};

0 comments on commit 26f2e95

Please sign in to comment.