Commit a2568823 authored by Vincent Bechu's avatar Vincent Bechu

[erp5_officejs] fix globals in service worker

parent 1c1c6f21
...@@ -11,6 +11,8 @@ var global = self, window = self; ...@@ -11,6 +11,8 @@ var global = self, window = self;
self.openDatabase = {}; self.openDatabase = {};
self.DOMError = {}; self.DOMError = {};
self.Node = {}; self.Node = {};
self.XMLSerializer = Object;
self.DOMParser = Object;
self.postMessage = function () {return; }; self.postMessage = function () {return; };
self.importScripts('app/rsvp.js', 'app/jiodev.js'); self.importScripts('app/rsvp.js', 'app/jiodev.js');
......
...@@ -60,6 +60,12 @@ ...@@ -60,6 +60,12 @@
</tuple> </tuple>
</value> </value>
</item> </item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple/>
</value>
</item>
<item> <item>
<key> <string>content_md5</string> </key> <key> <string>content_md5</string> </key>
<value> <value>
...@@ -213,7 +219,7 @@ ...@@ -213,7 +219,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>zope</string> </value> <value> <string>P0</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -227,7 +233,7 @@ ...@@ -227,7 +233,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>963.22427.36654.49664</string> </value> <value> <string>969.27647.29835.22169</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -245,7 +251,7 @@ ...@@ -245,7 +251,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1510324734.38</float> <float>1533640296.2</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </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