CB-1850 change: Model is getModel, name is getProduct

This commit is contained in:
Joe Bowser 2012-12-05 14:58:47 -08:00
parent 9a9d36e9d9
commit 182843edf6

View File

@ -80,7 +80,7 @@ public class Device extends CordovaPlugin {
r.put("platform", Device.platform);
r.put("name", this.getProductName());
r.put("cordova", Device.cordovaVersion);
r.put("model", this.getProductName());
r.put("model", this.getModel());
callbackContext.success(r);
}
else {