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

Unified Diff: chrome/browser/resources/print_preview/layout_settings.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/layout_settings.js
diff --git a/chrome/browser/resources/print_preview/layout_settings.js b/chrome/browser/resources/print_preview/layout_settings.js
index 7f84e146f4d4e2cb1e435703f1a7ff1956d3d564..a341ce899507931f844b5b7a92889f0bbae3f3ae 100644
--- a/chrome/browser/resources/print_preview/layout_settings.js
+++ b/chrome/browser/resources/print_preview/layout_settings.js
@@ -50,14 +50,14 @@ cr.define('print_preview', function() {
* @return {boolean} true if the chosen layout mode has changed since last
* time the state was updated.
*/
- hasChanged_ : function() {
- return this.isLandscape() != this.wasLandscape_;
+ hasChanged_: function() {
+ return this.isLandscape() != this.wasLandscape_;
},
/**
* Saves the currently selected layout mode. Used in |this.hasChanged_|.
*/
- updateState : function() {
+ updateState: function() {
this.wasLandscape_ = this.isLandscape();
},
« no previous file with comments | « chrome/browser/resources/print_preview/color_settings.js ('k') | chrome/browser/resources/print_preview/margin_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698