diff options
author | Leon Klingele <leon@struktur.de> | 2017-09-13 16:15:55 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-09-15 16:32:15 +0200 |
commit | 6d2bff46c95615a774e9701c02da0cd4fc3561b5 (patch) | |
tree | 6a9ea5ae8497356e9bcbc7ef2f472d2d3f573564 /core/vendor | |
parent | 8500e114575d7e02ffda8070980cc77ba147e60f (diff) | |
download | nextcloud-server-6d2bff46c95615a774e9701c02da0cd4fc3561b5.tar.gz nextcloud-server-6d2bff46c95615a774e9701c02da0cd4fc3561b5.zip |
vendor: Update davclient.js to 0.1.2
Signed-off-by: Leon Klingele <leon@struktur.de>
Diffstat (limited to 'core/vendor')
-rw-r--r-- | core/vendor/davclient.js/.bower.json | 13 | ||||
-rw-r--r-- | core/vendor/davclient.js/lib/client.js | 7 |
2 files changed, 13 insertions, 7 deletions
diff --git a/core/vendor/davclient.js/.bower.json b/core/vendor/davclient.js/.bower.json index 485af9e0885..f991c688731 100644 --- a/core/vendor/davclient.js/.bower.json +++ b/core/vendor/davclient.js/.bower.json @@ -1,6 +1,6 @@ { "name": "davclient.js", - "version": "0.1.1", + "version": "0.1.2", "authors": [ "Evert Pot <me@evertpot.com>" ], @@ -20,14 +20,13 @@ "test", "tests" ], - "_release": "0.1.1", + "_release": "0.1.2", "_resolution": { "type": "version", - "tag": "0.1.1", - "commit": "a2731f81540816b212c09d14596621cb070a4f10" + "tag": "0.1.2", + "commit": "c735ca284175c6f0419a2dd73de43de611afdb8f" }, "_source": "https://github.com/evert/davclient.js.git", - "_target": "0.1.1", - "_originalSource": "https://github.com/evert/davclient.js.git", - "_direct": true + "_target": "0.1.2", + "_originalSource": "https://github.com/evert/davclient.js.git" }
\ No newline at end of file diff --git a/core/vendor/davclient.js/lib/client.js b/core/vendor/davclient.js/lib/client.js index 0fc3f61f9f6..5280bb1a53a 100644 --- a/core/vendor/davclient.js/lib/client.js +++ b/core/vendor/davclient.js/lib/client.js @@ -70,6 +70,9 @@ dav.Client.prototype = { ' <d:prop>\n'; for(var ii in properties) { + if (!properties.hasOwnProperty(ii)) { + continue; + } var property = this.parseClarkNotation(properties[ii]); if (this.xmlNamespaces[property.namespace]) { @@ -115,6 +118,10 @@ dav.Client.prototype = { ' <d:prop>\n'; for(var ii in properties) { + if (!properties.hasOwnProperty(ii)) { + continue; + } + var property = this.parseClarkNotation(ii); var propName; var propValue = properties[ii]; |