<commit_before>var React = require('react');

var ReactNativePropRegistry = require('react/lib/ReactNativePropRegistry');

module.exports = function(incomingProps, defaultProps) {


    // External props has a higher precedence
    var computedProps = {};

    incomingProps = _.clone(incomingProps);
    delete incomingProps.children;

    // console.log(defaultProps, incomingProps);

    if(incomingProps)
        _.merge(computedProps, defaultProps, incomingProps);<commit_msg>add require statement for lodash<commit_after>var React = require('react');

var ReactNativePropRegistry = require('react/lib/ReactNativePropRegistry');

var _ = require('lodash');

module.exports = function(incomingProps, defaultProps) {


    // External props has a higher precedence
    var computedProps = {};

    incomingProps = _.clone(incomingProps);
    delete incomingProps.children;

    // console.log(defaultProps, incomingProps);

    if(incomingProps)
        _.merge(computedProps, defaultProps, incomingProps);
{'fraction_non_alphanumeric': 0.10703666997026759, 'fraction_numerical': 0.0, 'mean_word_length': 4.611111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1265744', 'n_tokens_mistral': 275, 'n_tokens_neox': 263, 'n_words': 59}