From 9c370fdd3a38e92092ddec876da9cd8cb1fa0913 Mon Sep 17 00:00:00 2001 From: Raymond Camden Date: Mon, 8 Sep 2014 11:19:04 -0500 Subject: [PATCH] Update platform.js I added a bit of detail to ready function to remind folks that - in the context of a web browser - even though ready has fired it is *NOT* going to allow for device specific features. It may be too obvious, but I really think a reminder here will help. --- js/utils/platform.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/utils/platform.js b/js/utils/platform.js index 7d44698b21..22579e2c43 100644 --- a/js/utils/platform.js +++ b/js/utils/platform.js @@ -51,6 +51,8 @@ * When the app is within a WebView (Cordova), it'll fire * the callback once the device is ready. If the app is within * a web browser, it'll fire the callback after `window.load`. + * Please remember that Cordova features (Camera, FileSystem, etc) still + * will not work in a web browser. * @param {function} callback The function to call. */ ready: function(cb) {