Merge pull request #92 from refinery29/fix_merging_props

Use lodash instead of merge, unbreaking the component (for us)
This commit is contained in:
Brent Vatne 2015-09-16 15:37:27 -07:00
commit 74ea1c28a5
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ var React = require('react-native');
var { StyleSheet, requireNativeComponent, PropTypes, NativeModules, } = React;
var VideoResizeMode = require('./VideoResizeMode');
var merge = require('merge');
var { extend } = require('lodash');
var VIDEO_REF = 'video';
@ -80,7 +80,7 @@ var Video = React.createClass({
resizeMode = NativeModules.VideoManager.ScaleNone;
}
var nativeProps = merge({},this.props, {
var nativeProps = extend({}, this.props, {
style,
resizeMode: resizeMode,
src: {

View File

@ -31,6 +31,6 @@
},
"dependencies": {
"keymirror": "^0.1.1",
"merge": "^1.2.0"
"lodash": "^3.10.1"
}
}