Fixed syntax issue in device.js file

4.x.x
Harshan Liyanage 8 years ago
parent 12e609c737
commit 261e8c510c

@ -118,7 +118,7 @@ deviceModule = function () {
if (properties["DEVICE_INFO"]) { if (properties["DEVICE_INFO"]) {
var initialDeviceInfoList = parse(properties["DEVICE_INFO"]); var initialDeviceInfoList = parse(properties["DEVICE_INFO"]);
var initialDeviceInfo = {}; var initialDeviceInfo = {};
if (Array.isArray(initialDeviceInfoList) { if (Array.isArray(initialDeviceInfoList)) {
for (var j = 0; j < initialDeviceInfoList.length; j++) { for (var j = 0; j < initialDeviceInfoList.length; j++) {
if (initialDeviceInfoList[j]["value"]) { if (initialDeviceInfoList[j]["value"]) {
initialDeviceInfo[initialDeviceInfoList[j]["name"]] = initialDeviceInfo[initialDeviceInfoList[j]["name"]] =

Loading…
Cancel
Save