Commit 7bf561c8 authored by Roque Porchetto's avatar Roque Porchetto

Adding serviceworker to allow app to work offline

parent d07bb10c
......@@ -121,9 +121,9 @@
}
});
})
.push(function () {
/*.push(function () {
return gadget.state_parameter_dict.jio_storage.repair();
});
})*/;
})
.declareMethod('allDocs', function (option_dict) {
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>958.42863.62916.48793</string> </value>
<value> <string>958.43056.61332.5870</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1492077873.08</float>
<float>1492088925.5</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -9,7 +9,6 @@
<script src="rsvp.js" type="text/javascript"></script>
<script src="renderjs.js" type="text/javascript"></script>
<!-- custom script -->
<script src="dygraph.js" type="text/javascript"></script>
<script src="gadget_global.js" type="text/javascript"></script>
<script src="gadget_erp5_page_fifdata.js" type="text/javascript"></script>
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>958.41689.18414.54084</string> </value>
<value> <string>958.41689.43060.42496</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1492006659.37</float>
<float>1492086849.79</float>
<string>UTC</string>
</tuple>
</state>
......
/*global window, rJS, RSVP, URI */
/*jslint nomen: true, indent: 2, maxerr: 3 */
(function (window, rJS, RSVP, URI, Dygraph) {
(function (window, rJS, RSVP, URI) {
"use strict";
var ARRAY_VALUE_LENGTH = 8;
......@@ -51,4 +51,4 @@
throw error;
});
});
}(window, rJS, RSVP, URI, Dygraph));
\ No newline at end of file
}(window, rJS, RSVP, URI));
\ No newline at end of file
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>958.41690.339.62003</string> </value>
<value> <string>958.41690.10852.2662</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1492006689.88</float>
<float>1492087282.45</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