function init()

in www/keyboard/index.js [28:45]


function init() {
    document.addEventListener("deviceready", function() {
            deviceReady = true;
            keyboardPlugin = window.Keyboard; // for now, before plugin re-factor
                              
            if (keyboardPlugin == null) {
                var msg = 'The plugin org.apache.cordova.keyboard was not found. Check that you have it installed.';
                alert(msg);
            }

        }, false);
    window.setTimeout(function() {
      if (!deviceReady) {
            var msg = 'Error: Apache Cordova did not initialize.  Demo will not run correctly.';
            alert(msg);
      }
    },1000);
}