Sha256: 35dafd126a98c672420677d1e1a75df0eb7de8ad52f15a6aa50cae9be96819bb

Contents?: true

Size: 442 Bytes

Versions: 4

Compression:

Stored size: 442 Bytes

Contents

var app = {
    initialize: function() {
        this.bind();
    },
    bind: function() {
        document.addEventListener('deviceready', this.deviceready, false);
    },
    deviceready: function() {
        app.report('deviceready');
    },
    report: function(id) {
        document.querySelector('#' + id + ' .pending').classList.add('hide');
        document.querySelector('#' + id + ' .complete').classList.remove('hide');
    }
};

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mobox-0.0.3 vendor/phonegap/lib/badaWac/Res/js/index.js
mobox-0.0.2 vendor/phonegap/lib/badaWac/Res/js/index.js
mobox-0.0.1.1 vendor/phonegap/lib/badaWac/Res/js/index.js
mobox-0.0.1 vendor/phonegap/lib/badaWac/Res/js/index.js