Permalink
Browse files

How many times do I have to fix the casing on the Device JS object?

  • Loading branch information...
1 parent e511987 commit 73b0b7642f528ede38efafe6f155e56bc47f0406 @filmaj filmaj committed Dec 1, 2009
Showing with 9 additions and 9 deletions.
  1. +9 −9 blackberry/framework/src/com/nitobi/phonegap/api/impl/DeviceCommand.java
@@ -35,15 +35,15 @@
private static final String CODE = "PhoneGap=initialize";
private static final String EMULATOR = "Emulator";
- private static final String DEVICE_NAME = ";Device.name = '";
- private static final String DEVICE_FLASH = "';Device.flash = ";
- private static final String DEVICE_PLATFORM = ";Device.platform = '";
- private static final String DEVICE_VENDOR = "';Device.vendor = '";
- private static final String DEVICE_BATTERY = "';Device.battery = ";
- private static final String DEVICE_VERSION = ";Device.version = '";
- private static final String DEVICE_SIMULATOR = "';Device.isSimulator = ";
- private static final String DEVICE_CAMERA = ";Device.hasCamera = ";
- private static final String DEVICE_UUID = ";Device.uuid = ";
+ private static final String DEVICE_NAME = ";device.name = '";
+ private static final String DEVICE_FLASH = "';device.flash = ";
+ private static final String DEVICE_PLATFORM = ";device.platform = '";
+ private static final String DEVICE_VENDOR = "';device.vendor = '";
+ private static final String DEVICE_BATTERY = "';device.battery = ";
+ private static final String DEVICE_VERSION = ";device.version = '";
+ private static final String DEVICE_SIMULATOR = "';device.isSimulator = ";
+ private static final String DEVICE_CAMERA = ";device.hasCamera = ";
+ private static final String DEVICE_UUID = ";device.uuid = ";
private static final String SEMI_COLON = ";";
/**

0 comments on commit 73b0b76

Please sign in to comment.