jeudi 11 juin 2015

ember 2.0, Cordova and onDeviceReady

The code in app.js looks like this:

var App;

Ember.MODEL_FACTORY_INJECTIONS = true;

App = Ember.Application.extend({
  modulePrefix: config.modulePrefix,
  podModulePrefix: config.podModulePrefix,
  Resolver: Resolver
});

export default App;

How do I use deferReadiness and advanceReadiness here ? I need this to call advanceReadiness if the cordova deviceReady event is fired.




Aucun commentaire:

Enregistrer un commentaire