Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2380)

Unified Diff: chrome/browser/resources/print_preview/margins_ui_pair.js

Issue 8605001: Print Preview: Fixing code style issues reported by gsjlint. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/print_preview/margins_ui_pair.js
diff --git a/chrome/browser/resources/print_preview/margins_ui_pair.js b/chrome/browser/resources/print_preview/margins_ui_pair.js
index 8794eb8e48206141a6a3a2d938c0193694481a74..0d0eb4ba8bb22b7a0bf78b3d051c0c0aede35b28 100644
--- a/chrome/browser/resources/print_preview/margins_ui_pair.js
+++ b/chrome/browser/resources/print_preview/margins_ui_pair.js
@@ -165,7 +165,7 @@ cr.define('print_preview', function() {
/**
* Executes whenever a mousedown event occurs on |this| or its child nodes.
- * @parameter {MouseEvent} e The event that occured.
+ * @param {MouseEvent} e The event that occured.
*/
onMouseDown_: function(e) {
if (e.button != 0)
@@ -193,7 +193,7 @@ cr.define('print_preview', function() {
*/
moveTo: function(point) {
if (this.isTop_() || this.isBottom_())
- this.style.top = point.y - this.mousePointerOffset.y + 'px';
+ this.style.top = point.y - this.mousePointerOffset.y + 'px';
else
this.style.left = point.x - this.mousePointerOffset.x + 'px';
},
« no previous file with comments | « chrome/browser/resources/print_preview/margins_ui.js ('k') | chrome/browser/resources/print_preview/print_header.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698