mirror of
https://github.com/apache/cordova-plugin-camera.git
synced 2026-04-29 00:02:13 +08:00
CB-4889 forgot index.html
This commit is contained in:
@@ -340,7 +340,7 @@
|
|||||||
document.addEventListener("deviceready", function() {
|
document.addEventListener("deviceready", function() {
|
||||||
deviceReady = true;
|
deviceReady = true;
|
||||||
platformId = cordova.require('cordova/platform').id;
|
platformId = cordova.require('cordova/platform').id;
|
||||||
CameraPopoverOptions = cordova.require('org.apache.cordova.core.camera.CameraPopoverOptions');
|
CameraPopoverOptions = cordova.require('org.apache.cordova.camera.CameraPopoverOptions');
|
||||||
console.log("Device="+device.platform+" "+device.version);
|
console.log("Device="+device.platform+" "+device.version);
|
||||||
createOptionsEl('sourceType', Camera.PictureSourceType, camPictureSourceTypeDefault);
|
createOptionsEl('sourceType', Camera.PictureSourceType, camPictureSourceTypeDefault);
|
||||||
createOptionsEl('destinationType', Camera.DestinationType, camDestinationTypeDefault);
|
createOptionsEl('destinationType', Camera.DestinationType, camDestinationTypeDefault);
|
||||||
|
|||||||
Reference in New Issue
Block a user