Commit bc1e8a99 authored by Tristan Cavelier's avatar Tristan Cavelier

localstorage.js jslint error fixed

parent 26c8da78
...@@ -369,8 +369,9 @@ jIO.addStorageType('local', function (spec, my) { ...@@ -369,8 +369,9 @@ jIO.addStorageType('local', function (spec, my) {
); );
option = command.cloneOption(); option = command.cloneOption();
if (typeof complex_queries !== "object" || if (typeof complex_queries !== "object" ||
option.query === undefined && option.sort_on === undefined && (option.query === undefined && option.sort_on === undefined &&
option.select_list === undefined && option.include_docs === undefined) { option.select_list === undefined &&
option.include_docs === undefined)) {
rows = []; rows = [];
for (i in localStorage) { for (i in localStorage) {
if (localStorage.hasOwnProperty(i)) { if (localStorage.hasOwnProperty(i)) {
......
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