react-mixin-manager.js
function applyInitiatedOnceArgs(mixins, rtn) {

        /**
         * added once initiated mixins to return array
         */
        function addInitiatedOnce(name, mixin, params) {
            mixin = mixin.call(this, params || []);
            // find the name placeholder in the return arr and replace it with the mixin
            var index = rtn.indexOf(name);
            rtn.splice(index, 1, mixin);
        }

        for (var m in mixins) {
            if (mixins.hasOwnProperty(m)) {
                addInitiatedOnce(m, _mixins[m], mixins[m]);
            }
        }
    }
function applyInitiatedOnceArgs(mixins, rtn) {

        /**
         * added once initiated mixins to return array
         */
        function addInitiatedOnce(name, mixin, params) {
            mixin = mixin.call(this, params || []);
            // find the name placeholder in the return arr and replace it with the mixin
            var index = rtn.indexOf(name);
            rtn.splice(index, 1, mixin);
        }

        for (var m in mixins) {
            if (mixins.hasOwnProperty(m)) {
                addInitiatedOnce(m, _mixins[m], mixins[m]);
            }
        }
    }
function applyInitiatedOnceArgs ( mixins , rtn ) { /**
         * added once initiated mixins to return array
         */ function addInitiatedOnce ( name , mixin , params ) { mixin = mixin . call ( this , params || [ ] ) ; // find the name placeholder in the return arr and replace it with the mixin var index = rtn . indexOf ( name ) ; rtn . splice ( index , 1 , mixin ) ; } for ( var m in mixins ) { if ( mixins . hasOwnProperty ( m ) ) { addInitiatedOnce ( m , _mixins [ m ] , mixins [ m ] ) ; } } }
add the mixins that should be once initiated to the normalized mixin list
@param mixins {Object} hash of mixins keys and list of its parameters
@param rtn {Array} the normalized return array
add the mixins that should be once initiated to the normalized mixin list