<commit_before>setEnvironment = function () {
    require([
       "dojo/_base/declare", "dojo/_base/lang", "dojo/dom", "FDGE/main"
    ], function (declare, lang, dom, fdge) {
        var android_env = declare(_AppEnvCreation, {
            constructor: function () {
                //TOSET: ANDROID specific env code goes here
                document.addEventListener('deviceready', function () {
                    console.log("cordova loaded ok");
                    alert("cordova loaded ok");
                    document.addEventListener('pause', function () {
                        console.log("pause event detected");
                        alert("pause event detected");
                    }, false);
                    document.addEventListener('resume', function () {
                        console.log("resume event detected");
                        alert("resume event detected");
                    }, false);
                }, false);
            } //constructor
        });  //declare
        android_env();
    });
};
<commit_msg>android platform env.js working after build<commit_after>require([
    "dojo/_base/declare", "dojo/_base/lang"
], function (declare, lang) {
    setEnvironment = function () {

        declare(_AppEnvCreation, {
            constructor: function () {
                //TOSET: ANDROID specific env code goes here
                document.addEventListener('deviceready', function () {
                    console.log("cordova loaded ok");
                    alert("cordova loaded ok");
                    document.addEventListener('pause', function () {
                        console.log("pause event detected");
                        alert("pause event detected");
                    }, false);
                    document.addEventListener('resume', function () {
                        console.log("resume event detected");
                        alert("resume event detected");
                    }, false);
                }, false);
            } //constructor
        })();  //declare then execute

    };
});

{'fraction_non_alphanumeric': 0.11931001437470053, 'fraction_numerical': 0.0, 'mean_word_length': 1.4916467780429594, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2205644', 'n_tokens_mistral': 472, 'n_tokens_neox': 441, 'n_words': 108}