Commit 60cc9e35 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_web_renderjs_ui] Update to jIO 3.6.0

This should speed up IndexedDB.allDocs usage
parent de8f8942
......@@ -102,7 +102,7 @@
<value> <string encoding="cdata"><![CDATA[
CACHE MANIFEST\n
# generated on Mon, 30 Nov 2015 10:00:00 +0000\n
# generated on Fri, 04 Dec 2015 10:00:00 +0000\n
# XXX + fonts\n
# images/ajax-loader.gif\n
CACHE:\n
......@@ -342,7 +342,7 @@ NETWORK:\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>947.22631.16141.50329</string> </value>
<value> <string>947.36771.24081.57838</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -360,7 +360,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>1448650222.45</float>
<float>1449236184.22</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -101,13 +101,14 @@
<key> <string>text_content</string> </key>
<value> <string encoding="cdata"><![CDATA[
/*global window, rJS, RSVP, UriTemplate, URI, objectToSearchText, SimpleQuery, ComplexQuery, jIO */\n
/*global window, rJS, RSVP, UriTemplate, URI, Query, SimpleQuery, ComplexQuery, jIO */\n
/*jslint indent: 2, maxerr: 3, nomen: true */\n
(function (window, rJS, RSVP, UriTemplate, URI, objectToSearchText, SimpleQuery, ComplexQuery, jIO) {\n
(function (window, rJS, RSVP, UriTemplate, URI, Query, SimpleQuery, ComplexQuery, jIO) {\n
"use strict";\n
\n
function wrapJioCall(gadget, method_name, argument_list) {\n
var storage = gadget.state_parameter_dict.jio_storage;\n
\n
return storage[method_name].apply(storage, argument_list)\n
.push(undefined, function (error) {\n
if ((error.target !== undefined) && (error.target.status === 401)) {\n
......@@ -218,14 +219,14 @@
if (result_list) {\n
local_roles = result_list;\n
parsed_query.query_list.splice(i, 1);\n
query = objectToSearchText(parsed_query);\n
query = Query.objectToSearchText(parsed_query);\n
i = parsed_query.query_list.length;\n
} else {\n
result_list = isMultipleLocalRoles(sub_query);\n
if (result_list) {\n
local_roles = result_list;\n
parsed_query.query_list.splice(i, 1);\n
query = objectToSearchText(parsed_query);\n
query = Query.objectToSearchText(parsed_query);\n
i = parsed_query.query_list.length;\n
}\n
}\n
......@@ -280,7 +281,7 @@
return wrapJioCall(this, \'putAttachment\', [id, name, JSON.stringify(json)]);\n
});\n
\n
}(window, rJS, RSVP, UriTemplate, URI, objectToSearchText, SimpleQuery, ComplexQuery, jIO));
}(window, rJS, RSVP, UriTemplate, URI, Query, SimpleQuery, ComplexQuery, jIO));
]]></string> </value>
</item>
......@@ -417,7 +418,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>947.15020.24457.52667</string> </value>
<value> <string>947.36789.31946.17646</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -435,7 +436,7 @@
</tuple>
<state>
<tuple>
<float>1448016802.0</float>
<float>1449236578.55</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -101,9 +101,9 @@
<key> <string>text_content</string> </key>
<value> <string encoding="cdata"><![CDATA[
/*global window, rJS, RSVP, Handlebars, SimpleQuery, ComplexQuery, objectToSearchText */\n
/*global window, rJS, RSVP, Handlebars, SimpleQuery, ComplexQuery, Query */\n
/*jslint nomen: true, indent: 2, maxerr: 3 */\n
(function (window, rJS, RSVP, Handlebars, SimpleQuery, ComplexQuery, objectToSearchText) {\n
(function (window, rJS, RSVP, Handlebars, SimpleQuery, ComplexQuery, Query) {\n
"use strict";\n
\n
/////////////////////////////////////////////////////////////////\n
......@@ -165,7 +165,7 @@
};\n
}\n
return gadget.jio_allDocs({\n
query: objectToSearchText(new ComplexQuery({operator: \'OR\', query_list: query_list})),\n
query: Query.objectToSearchText(new ComplexQuery({operator: \'OR\', query_list: query_list})),\n
select_list: ["title", "portal_type"],\n
limit: id_list.length\n
});\n
......@@ -212,7 +212,7 @@
my_translated_html;\n
});\n
});\n
}(window, rJS, RSVP, Handlebars, SimpleQuery, ComplexQuery, objectToSearchText));
}(window, rJS, RSVP, Handlebars, SimpleQuery, ComplexQuery, Query));
]]></string> </value>
</item>
......@@ -349,7 +349,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>947.22112.65196.42461</string> </value>
<value> <string>947.22494.14742.48810</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -367,7 +367,7 @@
</tuple>
<state>
<tuple>
<float>1448442387.23</float>
<float>1449229724.79</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