/*!
- Ripple Mobile Environment Emulator v0.9.8 :: Built On Mon Dec 22 2014 19:00:16 GMT+0800 (CST)
+ Ripple Mobile Environment Emulator v0.9.8 :: Built On Tue Dec 23 2014 11:57:10 GMT+0800 (CST)
Apache License
Version 2.0, January 2004
"ppi": 316,
"browser": ["Generic"],
- "platforms": ["wac", "web", "phonegap", "tizen", "cordova"],
+ "platforms": ["wac", "web", "phonegap", "tizen", "cordova", "ivi"],
"userAgent": "Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.7 Safari/533.2"
};
};
});
-define('ripple/devices/IVI-HD', function (require, exports, module) {
-/*
- * Copyright 2012 Intel Corporation
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-module.exports = {
- "id": "IVI-HD",
- "name": "IVI HD (800x480)",
- "osName": "Generic",
- "osVersion": "Generic",
- "manufacturer": "Tizen",
- "model": "Generic",
- "uuid": "42",
- "firmware": "Generic",
-
- "screen": {
- "width": 800,
- "height": 480
- },
- "viewPort": {
- "portrait": {
- "width": 1024,
- "height": 640,
- "paddingTop": 0,
- "paddingLeft": 0
- },
- "landscape": {
- "width": 640,
- "height": 1024,
- "paddingTop": 0,
- "paddingLeft": 0
- }
- },
-
- "ppi": 316,
- "browser": ["Generic"],
- "platforms": ["ivi"],
- "userAgent": "Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.7 Safari/533.2"
-};
-
-});
define('ripple/devices/Legend', function (require, exports, module) {
/*
* Copyright 2011 Research In Motion Limited.
"FWVGA",
"G1",
*/ "FULL-HD",
- "IVI-HD",
"Wearable-HD",
"TV-HD",
"tizen-WVGA",
for (handle in _data[property]) {
success = _data[property][handle];
value = new VehicleFactory(property, propertyObj.val);
+
value['interfaceName'] = property;
success(value);
zone = zone ? zone : 0;
t.Vehicle("get", arguments);
+ //this is a tempoary work around method
+ if (_data.cache == null) {
+ _data.cache = _data.data;
+ }
+
var data = {
then: function (resolve, reject) {
var data;
batteryStatus.zone = propertyTypes.zone || 0;
//this is a temporary work around method
- if(batteryStatus.chargeLevel == null) {
+ if (batteryStatus.chargeLevel == null) {
batteryStatus.chargeLevel = batteryStatus.current;
}