examples/cordova1/platforms/android/platform_www/cordova.js
function handlePluginsObject (moduleList) {
    // if moduleList is not defined or empty, we've nothing to do
    if (!moduleList || !moduleList.length) {
        return;
    }

    // Loop through all the modules and then through their clobbers and merges.
    for (var i = 0, module; module = moduleList[i]; i++) { // eslint-disable-line no-cond-assign
        if (module.clobbers && module.clobbers.length) {
            for (var j = 0; j < module.clobbers.length; j++) {
                modulemapper.clobbers(module.id, module.clobbers[j]);
            }
        }

        if (module.merges && module.merges.length) {
            for (var k = 0; k < module.merges.length; k++) {
                modulemapper.merges(module.id, module.merges[k]);
            }
        }

        // Finally, if runs is truthy we want to simply require() the module.
        if (module.runs) {
            modulemapper.runs(module.id);
        }
    }
}
function handlePluginsObject (moduleList) {
    // if moduleList is not defined or empty, we've nothing to do
    if (!moduleList || !moduleList.length) {
        return;
    }

    // Loop through all the modules and then through their clobbers and merges.
    for (var i = 0, module; module = moduleList[i]; i++) { // eslint-disable-line no-cond-assign
        if (module.clobbers && module.clobbers.length) {
            for (var j = 0; j < module.clobbers.length; j++) {
                modulemapper.clobbers(module.id, module.clobbers[j]);
            }
        }

        if (module.merges && module.merges.length) {
            for (var k = 0; k < module.merges.length; k++) {
                modulemapper.merges(module.id, module.merges[k]);
            }
        }

        // Finally, if runs is truthy we want to simply require() the module.
        if (module.runs) {
            modulemapper.runs(module.id);
        }
    }
}
function handlePluginsObject ( moduleList ) { // if moduleList is not defined or empty, we've nothing to do if ( ! moduleList || ! moduleList . length ) { return ; } // Loop through all the modules and then through their clobbers and merges. for ( var i = 0 , module ; module = moduleList [ i ] ; i ++ ) { // eslint-disable-line no-cond-assign if ( module . clobbers && module . clobbers . length ) { for ( var j = 0 ; j < module . clobbers . length ; j ++ ) { modulemapper . clobbers ( module . id , module . clobbers [ j ] ) ; } } if ( module . merges && module . merges . length ) { for ( var k = 0 ; k < module . merges . length ; k ++ ) { modulemapper . merges ( module . id , module . merges [ k ] ) ; } } // Finally, if runs is truthy we want to simply require() the module. if ( module . runs ) { modulemapper . runs ( module . id ) ; } } }
Handler for the cordova_plugins.js content. See plugman's plugin_loader.js for the details of this object.
Handler for the cordova_plugins . js content . See plugman s plugin_loader . js for the details of this object .