diff options
author | kondou <kondou@ts.unde.re> | 2014-03-01 02:46:27 +0100 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2014-06-02 21:09:41 +0200 |
commit | 9bc3f3cf304c300c758743f2e460beb1fee3ecac (patch) | |
tree | ea564110fcd3a28caee27af3bf36486d1783cc3e /core/js/compatibility.js | |
parent | c88c0b9a13231478c626296d78aac7c1f66d87d9 (diff) | |
download | nextcloud-server-9bc3f3cf304c300c758743f2e460beb1fee3ecac.tar.gz nextcloud-server-9bc3f3cf304c300c758743f2e460beb1fee3ecac.zip |
Scrutinizer cleanup
Diffstat (limited to 'core/js/compatibility.js')
-rw-r--r-- | core/js/compatibility.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/compatibility.js b/core/js/compatibility.js index c07288857f2..ac942d202e8 100644 --- a/core/js/compatibility.js +++ b/core/js/compatibility.js @@ -42,8 +42,9 @@ if (!Array.prototype.filter) { for (var i = 0; i < len; i++) { if (i in this) { var val = this[i]; // in case fun mutates this - if (fun.call(thisp, val, i, this)) + if (fun.call(thisp, val, i, this)) { res.push(val); + } } } return res; |