Commit 49e7520d authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: matrixbox

parent 6450563c
......@@ -35,22 +35,7 @@
*/
(function (window, rJS, RSVP, domsugar, JSON) {
"use strict";
/*
// Recursively introspect an object if it is empty
function isEmptyRecursive(data) {
var item;
if (typeof data === 'object') {
for (item in data) {
if (data.hasOwnProperty(item) && !item.startsWith("_")) {
if (isEmptyRecursive(data[item]) === false) {return false; } // one non-empty element is enough
}
}
return true;
}
return !data && true; // convert basic types to boolean
}
*/
function copy(obj) {
return JSON.parse(JSON.stringify(obj));
}
......
......@@ -240,7 +240,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>999.25959.348.50500</string> </value>
<value> <string>999.25959.13616.26538</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>1649343792.4</float>
<float>1649344500.27</float>
<string>UTC</string>
</tuple>
</state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment