react-backbone.js
function getKey(context) {
        if (context.getModelKey) {
            return context.getModelKey();
        }
        return context.props.name || context.props.key || context.props.ref;
    }
function getKey(context) {
        if (context.getModelKey) {
            return context.getModelKey();
        }
        return context.props.name || context.props.key || context.props.ref;
    }
function getKey ( context ) { if ( context . getModelKey ) { return context . getModelKey ( ) ; } return context . props . name || context . props . key || context . props . ref ; }
Return a model attribute key used for attribute specific operations
Return a model attribute key used for attribute specific operations