From 5c611bf1a0083ae7b9aee68d465a2c59bb60eefd Mon Sep 17 00:00:00 2001 From: Becky Siegel Date: Mon, 19 Dec 2016 17:59:48 -0800 Subject: [PATCH] Fix lint errors Change-Id: I6d198498a7bd480a2b0081bff20ba89c3941ad48 --- .../app/elements/diff/gr-diff-comment/gr-diff-comment.js | 2 +- polygerrit-ui/app/scripts/util.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/polygerrit-ui/app/elements/diff/gr-diff-comment/gr-diff-comment.js b/polygerrit-ui/app/elements/diff/gr-diff-comment/gr-diff-comment.js index cbf20e8561..d974fe54a3 100644 --- a/polygerrit-ui/app/elements/diff/gr-diff-comment/gr-diff-comment.js +++ b/polygerrit-ui/app/elements/diff/gr-diff-comment/gr-diff-comment.js @@ -321,7 +321,7 @@ _handleQuote: function(e) { e.preventDefault(); - this.fire( 'create-reply-comment', this._getEventPayload({quote: true}), + this.fire('create-reply-comment', this._getEventPayload({quote: true}), {bubbles: false}); }, diff --git a/polygerrit-ui/app/scripts/util.js b/polygerrit-ui/app/scripts/util.js index ff518e5f54..76c8493c9d 100644 --- a/polygerrit-ui/app/scripts/util.js +++ b/polygerrit-ui/app/scripts/util.js @@ -57,13 +57,13 @@ /** * Truncates URLs to display filename only - * @example + * Example * // returns '.../text.html' * util.truncatePath.('dir/text.html'); - * @example + * Example * // returns 'text.html' * util.truncatePath.('text.html'); - * @returns {String} Returns the truncated value of a URL. + * @return {String} Returns the truncated value of a URL. */ util.truncatePath = function(path) { var pathPieces = path.split('/');