Commit b932fa55 authored by Tristan Cavelier's avatar Tristan Cavelier

fix jslint errors

parent e9919b7f
......@@ -181,7 +181,7 @@
*/
var ajax = {
"none": function (method, type, url, data) {
var headers;
var headers = {};
if (method === "PROPFIND") {
headers.Depth = "1";
}
......
......@@ -113,7 +113,7 @@
function list2DocumentsTest(answer) {
if (answer && answer.data && Array.isArray(answer.data.rows)) {
answer.data.rows.sort(function (a, b) {
answer.data.rows.sort(function (a) {
return a.id === "b" ? 1 : 0;
});
}
......
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