mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
1
js/ext/angular/src/service/ionicPlatform.js
vendored
1
js/ext/angular/src/service/ionicPlatform.js
vendored
@@ -117,6 +117,7 @@ angular.module('ionic.service.platform', [])
|
||||
* Trigger a callback once the device is ready,
|
||||
* or immediately if the device is already ready.
|
||||
* @param {function=} callback The function to call.
|
||||
* @returns {promise} A promise which is resolved when the device is ready.
|
||||
*/
|
||||
ready: function(cb) {
|
||||
var q = $q.defer();
|
||||
|
||||
Reference in New Issue
Block a user