diff options
author | Olivier Paroz <github@oparoz.com> | 2015-04-09 14:15:25 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-04-09 14:15:25 +0300 |
commit | a182fef1126edb0c3b338ed77dd8547667e79cc6 (patch) | |
tree | b30f9c23cbb8196e8858407ca1bc727ede0b1b6b | |
parent | 8e5a96437ec531c47f56d1ee6bbe9cd973e8419a (diff) |
Minor changes
-rw-r--r-- | js/album.js | 4 | ||||
-rw-r--r-- | js/galleryview.js | 2 | ||||
-rw-r--r-- | js/slideshow.js | 2 | ||||
-rw-r--r-- | js/slideshowcontrols.js | 2 | ||||
-rw-r--r-- | js/thumbnail.js | 2 | ||||
-rw-r--r-- | service/configservice.php | 2 | ||||
-rw-r--r-- | service/downloadservice.php | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/js/album.js b/js/album.js index 2dfe3091..24aabf11 100644 --- a/js/album.js +++ b/js/album.js @@ -1,4 +1,4 @@ -/* global $, OC, Gallery, Thumbnails */ +/* global $, OC, Thumbnails */ /** * Creates a new album object to store information about an album * @@ -200,7 +200,7 @@ Album.prototype = { getDom: function (targetHeight) { var album = this; - return this._getThumbnail().then(function (img) { + return this._getThumbnail().then(function () { var a = $('<a/>').addClass('album').attr('href', '#' + encodeURIComponent(album.path)); a.append($('<span/>').addClass('album-label').text(album.name)); diff --git a/js/galleryview.js b/js/galleryview.js index 3591457b..0182c3ce 100644 --- a/js/galleryview.js +++ b/js/galleryview.js @@ -1,4 +1,4 @@ -/* global OC, $, _, t, Gallery, Album, GalleryImage, SlideShow */ +/* global OC, $, _, Gallery, Album, GalleryImage, SlideShow */ Gallery.view = {}; Gallery.view.element = null; Gallery.view.breadcrumb = null; diff --git a/js/slideshow.js b/js/slideshow.js index db826dae..d218ded8 100644 --- a/js/slideshow.js +++ b/js/slideshow.js @@ -211,7 +211,7 @@ SlideShow.prototype = { // prevent zoom-on-doubleClick this.zoomable.addEventListener('dblclick', function (ie) { ie.preventDefault(); - }.bind(this)); + }); }, /** diff --git a/js/slideshowcontrols.js b/js/slideshowcontrols.js index eb3aa000..a940ea0c 100644 --- a/js/slideshowcontrols.js +++ b/js/slideshowcontrols.js @@ -110,7 +110,7 @@ SlideShowControls.prototype = { /** * Sets up the key based controls - * + * * @param {Function} makeCallBack * @private */ diff --git a/js/thumbnail.js b/js/thumbnail.js index 84552944..25957838 100644 --- a/js/thumbnail.js +++ b/js/thumbnail.js @@ -1,4 +1,4 @@ -/* global OC, $, Gallery */ +/* global $, Gallery */ /** * A thumbnail is the actual image attached to the GalleryImage object * diff --git a/service/configservice.php b/service/configservice.php index c59661b5..511751d5 100644 --- a/service/configservice.php +++ b/service/configservice.php @@ -305,7 +305,7 @@ class ConfigService extends Service { * @param int $level * @param bool $isRootFolder * - * @return array<null|array<string,string>,bool> + * @return bool */ private function isConfigUsable($key, $parsedConfigItem, $level, $isRootFolder) { $inherit = $this->isConfigInheritable($parsedConfigItem); diff --git a/service/downloadservice.php b/service/downloadservice.php index 0e0074ad..410c96c9 100644 --- a/service/downloadservice.php +++ b/service/downloadservice.php @@ -30,7 +30,7 @@ class DownloadService extends Service { * @param string $image * @param bool $base64Encode * - * @return array + * @return false|array * * @throws NotFoundServiceException */ |