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

Unified Diff: chrome/browser/resources/print_preview/margin_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/margin_settings.js
diff --git a/chrome/browser/resources/print_preview/margin_settings.js b/chrome/browser/resources/print_preview/margin_settings.js
index 1bfed187a0a908c88905392414c3b1bfa14fe1cd..92ba9cb3a95d3e43bae513678544b0b5ad0e754d 100644
--- a/chrome/browser/resources/print_preview/margin_settings.js
+++ b/chrome/browser/resources/print_preview/margin_settings.js
@@ -169,7 +169,7 @@ cr.define('print_preview', function() {
* locale.
* @param {string} numberFormat Is the formatted version of a sample number,
* sent from the backend.
- * @oaram {number} measurementSystem 0 for SI (aka metric system), 1 for the
+ * @param {number} measurementSystem 0 for SI (aka metric system), 1 for the
* system used in the US. Note: Mathces UMeasurementSystem enum in
* third_party/icu/public/i18n/unicode/ulocdata.h.
*/
@@ -228,7 +228,7 @@ cr.define('print_preview', function() {
* |margin{Top|Bottom|Left|Right}| attributes are missing.
*/
setLastUsedMargins: function(lastUsedMarginsSettings) {
- var lastUsedMarginsType = lastUsedMarginsSettings['marginsType']
+ var lastUsedMarginsType = lastUsedMarginsSettings['marginsType'];
this.forceMarginsUIOnPDFLoad_ =
lastUsedMarginsType == MarginSettings.MARGINS_VALUE_CUSTOM;
this.marginList_.selectedIndex =
« no previous file with comments | « chrome/browser/resources/print_preview/layout_settings.js ('k') | chrome/browser/resources/print_preview/margin_utils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698