Commit 95bd6d1d authored by Lu Xu's avatar Lu Xu 👀

WIP

parent b85d6081
[
{
"time": "2022-11-09 18:05:57,189",
"log_level": "INFO",
"message": "msg",
"data": "{'cpu_temperature': 10}"
},
{
"time": "2022-11-09 18:06:28,114",
"log_level": "INFO",
"message": "msg",
"data": "{'cpu_temperature': 18}"
},
{
"time": "2022-11-09 18:06:35,729",
"log_level": "INFO",
"message": "msg",
"data":"{'cpu_temperature': 16}"
}
]
/*global window, rJS, jIO, RSVP, Blob*/
/*jslint indent:2, maxlen: 80, nomen: true */
(function (window, rJS, jIO, RSVP) {
/*global window, rJS, jIO, RSVP*/
/*jslint indent:2, maxlen:80, nomen:true */
(function () {
"use strict";
var gadget_definition = rJS(window);
}(window, rJS, RSVP));
rJS(window)
.declareAcquiredMethod("getPromiseDocument", "getPromiseDocument")
.declareMethod("render", function (options) {
var gadget = this;
return gadget.getPromiseDocument(
"check-rx-saturated",
"log/monitor/promise/check-rx-saturated.json.log"
)
.push(function (result) {
gadget.element.textContent = result;
//console.log('YOUPI', result);
});
});
}());
\ No newline at end of file
......@@ -2836,4 +2836,4 @@ if (typeof document.contains !== 'function') {
);
}(document, window, RSVP, DOMParser, Channel, MutationObserver, Node,
FileReader, Blob, navigator, Event, URL));
FileReader, Blob, navigator, Event, URL));
\ No newline at end of file
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