Commit f581cfdf authored by Tristan Cavelier's avatar Tristan Cavelier

JSLint erp5storage.js

parent ba3cb867
......@@ -286,7 +286,7 @@
};
// XXX docstring
ERP5Storage.onView.default.put = function (command, metadata, options) {
ERP5Storage.onView.default.put = function (metadata, options) {
return onViewDefaultGet.call(this, metadata, options)
.then(function (result) {
/*jslint forin: true */
......@@ -319,7 +319,7 @@
});
};
ERP5Storage.onView.default.allDocs = function (command, param, options) {
ERP5Storage.onView.default.allDocs = function (param, options) {
if (typeof options.query !== "string") {
options.query = (options.query ?
jIO.Query.objectToSearchText(options.query) :
......
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