index.js
function resolveReferences() {

        for (let key in _variableCollection) {

            let referenceVariables = extractVariables(_variableCollection[key]);

            for (let current = 0; current < referenceVariables.length; current++) {
                if (_.isEmpty(_variableCollection[_.camelCase(referenceVariables[current].variable)]) === false) {
                    _variableCollection[key] = _variableCollection[key].replace(referenceVariables[current].origin, _variableCollection[_.camelCase(referenceVariables[current].variable)]);
                }
            }
        }
    }
function resolveReferences() {

        for (let key in _variableCollection) {

            let referenceVariables = extractVariables(_variableCollection[key]);

            for (let current = 0; current < referenceVariables.length; current++) {
                if (_.isEmpty(_variableCollection[_.camelCase(referenceVariables[current].variable)]) === false) {
                    _variableCollection[key] = _variableCollection[key].replace(referenceVariables[current].origin, _variableCollection[_.camelCase(referenceVariables[current].variable)]);
                }
            }
        }
    }
function resolveReferences ( ) { for ( let key in _variableCollection ) { let referenceVariables = extractVariables ( _variableCollection [ key ] ) ; for ( let current = 0 ; current < referenceVariables . length ; current ++ ) { if ( _ . isEmpty ( _variableCollection [ _ . camelCase ( referenceVariables [ current ] . variable ) ] ) === false ) { _variableCollection [ key ] = _variableCollection [ key ] . replace ( referenceVariables [ current ] . origin , _variableCollection [ _ . camelCase ( referenceVariables [ current ] . variable ) ] ) ; } } } }
Resolve references on variable values to other variables.
Resolve references on variable values to other variables .