b0VIM 7.4•Ê\YÚ- cdupontcdupont-laptop~cdupont/Documents/Waziup/waziup-dashboard/src/utils.jsutf-8 3210#"! UtpeadFöeåäÕж°“yWB<,('" 骦¥ ‚|Z:6. ý × š { f 0  ì Þ Ö « ˜ „ f 9 /    Ù ‡ ` B Ì ® k (   ö ï î Ó µ ¦ • w P *   üà·¬šv$ù±ª©ƒg8ʱ—‘Ž�;$ ùöõ}; title: 'UTIL'module.exports.details = {module.exports = UTIL;/* Export ==================================================================== */}; } return returnValue; } )
  • {meas[i].key + ": " + meas[i].value}
  • returnValue.push( for(var i in meas){ var meas = UTIL.getMeasurements(sensor); var returnValue = []; getSensorData: function(sensor) { }, } } Cell: { border: "1px solid #ededef ", padding: "5px", "background-color": "#FFFFFF" }, Table: { width: "100%", border: "1px solid #dddddd ", padding: "5px"}, Filter: { fontSize: 18 }, styles: { }, Table: 'table-striped, table', Row: 'row-class', classNames: { }, }, sortAscendingIcon: 'â–²', sortDescendingIcon: 'â–¼', TableHeadingCell: { icons: { return { styleConfig: function() { //Griddle table config }, return returnValue; } } returnValue.push({"key": i, "value": sensor[i].value}) if (attributesExcludes.indexOf(i) === -1 && sensor[i]) { for(var i in sensor){ const attributesExcludes = ["id", "type", "location", "dateCreated", "dateModified", "owner", "servicePath"]; var returnValue = []; getMeasurements: function(sensor){ // an attribute is considered as a measurement if it has a timestamp metadata // Get all measurements for a sensor }, return ar; ar.push(n); }) n.push([latlng.lat,latlng.lng]); bounds.map((latlng)=>{ var ar = []; var n = []; convertVectorBounds: function(bounds){ }, } throw error; error.response = response; let error = new Error(response.status); } else { return response; if (response.status >= 200 && response.status < 300) { checkStatus: function(response) { */ * * check status of a request /** }, for (let a in obj) return a; firstIndexInObj: function(obj) { */ * Get First Item in Object /** }, return Object.keys(obj).map(function(k) { return obj[k] }); objToArr: function(obj) { */ * Convert Obj to Arr /** }, return true; } return false; if(obj.hasOwnProperty(prop)) for(let prop in obj) { objIsEmpty: function(obj) { */ * Test if Obj is empty /**const UTIL = {import React from 'react';