vendor: Update davclient.js to 0.1.2

Signed-off-by: Leon Klingele <leon@struktur.de>
pull/6488/head
Leon Klingele 7 years ago committed by Morris Jobke
parent 8500e11457
commit 6d2bff46c9
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68

@ -29,7 +29,7 @@
"underscore": "~1.8.0", "underscore": "~1.8.0",
"bootstrap": "~3.3.6", "bootstrap": "~3.3.6",
"backbone": "~1.2.3", "backbone": "~1.2.3",
"davclient.js": "https://github.com/evert/davclient.js.git#0.1.1", "davclient.js": "https://github.com/evert/davclient.js.git#0.1.2",
"es6-promise": "https://github.com/jakearchibald/es6-promise.git#~2.3.0", "es6-promise": "https://github.com/jakearchibald/es6-promise.git#~2.3.0",
"base64": "~0.3.0", "base64": "~0.3.0",
"clipboard": "^1.5.12", "clipboard": "^1.5.12",

@ -1,6 +1,6 @@
{ {
"name": "davclient.js", "name": "davclient.js",
"version": "0.1.1", "version": "0.1.2",
"authors": [ "authors": [
"Evert Pot <me@evertpot.com>" "Evert Pot <me@evertpot.com>"
], ],
@ -20,14 +20,13 @@
"test", "test",
"tests" "tests"
], ],
"_release": "0.1.1", "_release": "0.1.2",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "0.1.1", "tag": "0.1.2",
"commit": "a2731f81540816b212c09d14596621cb070a4f10" "commit": "c735ca284175c6f0419a2dd73de43de611afdb8f"
}, },
"_source": "https://github.com/evert/davclient.js.git", "_source": "https://github.com/evert/davclient.js.git",
"_target": "0.1.1", "_target": "0.1.2",
"_originalSource": "https://github.com/evert/davclient.js.git", "_originalSource": "https://github.com/evert/davclient.js.git"
"_direct": true
} }

@ -70,6 +70,9 @@ dav.Client.prototype = {
' <d:prop>\n'; ' <d:prop>\n';
for(var ii in properties) { for(var ii in properties) {
if (!properties.hasOwnProperty(ii)) {
continue;
}
var property = this.parseClarkNotation(properties[ii]); var property = this.parseClarkNotation(properties[ii]);
if (this.xmlNamespaces[property.namespace]) { if (this.xmlNamespaces[property.namespace]) {
@ -115,6 +118,10 @@ dav.Client.prototype = {
' <d:prop>\n'; ' <d:prop>\n';
for(var ii in properties) { for(var ii in properties) {
if (!properties.hasOwnProperty(ii)) {
continue;
}
var property = this.parseClarkNotation(ii); var property = this.parseClarkNotation(ii);
var propName; var propName;
var propValue = properties[ii]; var propValue = properties[ii];

Loading…
Cancel
Save