function() {

        var modulemapper = require('cordova/modulemapper');
        var channel = require('cordova/channel');

        modulemapper.clobbers('cordova/exec/proxy', 'cordova.commandProxy');

        channel.onNativeReady.fire();

        document.addEventListener("visibilitychange", function(){
            if(document.hidden) {
                channel.onPause.fire();
            }
            else {
                channel.onResume.fire();
            }
        });

    // End of bootstrap
    }
function() {

        var modulemapper = require('cordova/modulemapper');
        var channel = require('cordova/channel');

        modulemapper.clobbers('cordova/exec/proxy', 'cordova.commandProxy');

        channel.onNativeReady.fire();

        document.addEventListener("visibilitychange", function(){
            if(document.hidden) {
                channel.onPause.fire();
            }
            else {
                channel.onResume.fire();
            }
        });

    // End of bootstrap
    }
function ( ) { var modulemapper = require ( 'cordova/modulemapper' ) ; var channel = require ( 'cordova/channel' ) ; modulemapper . clobbers ( 'cordova/exec/proxy' , 'cordova.commandProxy' ) ; channel . onNativeReady . fire ( ) ; document . addEventListener ( "visibilitychange" , function ( ) { if ( document . hidden ) { channel . onPause . fire ( ) ; } else { channel . onResume . fire ( ) ; } } ) ; // End of bootstrap }
cordova-js
cordova - js