| Index: chrome/browser/resources/print_preview/settings/advanced_settings/advanced_settings_item.js
|
| diff --git a/chrome/browser/resources/print_preview/settings/advanced_settings/advanced_settings_item.js b/chrome/browser/resources/print_preview/settings/advanced_settings/advanced_settings_item.js
|
| index 7e189922a228ab04151cda1be26bac09ed8d417b..63576c99814cf1902e926234031048713716c770 100644
|
| --- a/chrome/browser/resources/print_preview/settings/advanced_settings/advanced_settings_item.js
|
| +++ b/chrome/browser/resources/print_preview/settings/advanced_settings/advanced_settings_item.js
|
| @@ -65,8 +65,8 @@ cr.define('print_preview', function() {
|
|
|
| /** @override */
|
| createDom: function() {
|
| - this.setElementInternal(this.cloneTemplateInternal(
|
| - 'advanced-settings-item-template'));
|
| + this.setElementInternal(
|
| + this.cloneTemplateInternal('advanced-settings-item-template'));
|
|
|
| this.tracker_.add(
|
| this.select_, 'change', this.onSelectChange_.bind(this));
|
| @@ -184,8 +184,8 @@ cr.define('print_preview', function() {
|
| for (var i = 0; i < this.select_.length && !optionMatches; i++)
|
| optionMatches = this.select_.options[i].text.match(this.query_);
|
| } else {
|
| - optionMatches = (this.text_.value || this.text_.placeholder || '')
|
| - .match(this.query_);
|
| + optionMatches = (this.text_.value || this.text_.placeholder ||
|
| + '').match(this.query_);
|
| }
|
| }
|
| var matches = nameMatches || !!optionMatches;
|
| @@ -289,8 +289,8 @@ cr.define('print_preview', function() {
|
| if (this.capability_.type == 'TYPED_VALUE' &&
|
| this.capability_.typed_value_cap) {
|
| defaultValue = this.capability_.typed_value_cap.default || null;
|
| - } else if (this.capability_.type == 'RANGE' &&
|
| - this.capability_.range_cap) {
|
| + } else if (
|
| + this.capability_.type == 'RANGE' && this.capability_.range_cap) {
|
| defaultValue = this.capability_.range_cap.default || null;
|
| }
|
|
|
| @@ -321,7 +321,5 @@ cr.define('print_preview', function() {
|
| };
|
|
|
| // Export
|
| - return {
|
| - AdvancedSettingsItem: AdvancedSettingsItem
|
| - };
|
| + return {AdvancedSettingsItem: AdvancedSettingsItem};
|
| });
|
|
|