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

Unified Diff: ui/webui/resources/cr_elements/cr_expand_button/cr_expand_button.js

Issue 2597013002: Run clang-format on ui/webui/resources (Closed)
Patch Set: remove cr_shared_menu.js Created 4 years 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: ui/webui/resources/cr_elements/cr_expand_button/cr_expand_button.js
diff --git a/ui/webui/resources/cr_elements/cr_expand_button/cr_expand_button.js b/ui/webui/resources/cr_elements/cr_expand_button/cr_expand_button.js
index b92d11cd98972c0744ddc65af9777663390c346f..1a4d7b747355c4447754c629ffe355b719366d9e 100644
--- a/ui/webui/resources/cr_elements/cr_expand_button/cr_expand_button.js
+++ b/ui/webui/resources/cr_elements/cr_expand_button/cr_expand_button.js
@@ -19,20 +19,12 @@ Polymer({
* If true, the button is in the expanded state and will show the
* 'expand-less' icon. If false, the button shows the 'expand-more' icon.
*/
- expanded: {
- type: Boolean,
- value: false,
- notify: true
- },
+ expanded: {type: Boolean, value: false, notify: true},
/**
* If true, the button will be disabled and greyed out.
*/
- disabled: {
- type: Boolean,
- value: false,
- reflectToAttribute: true
- },
+ disabled: {type: Boolean, value: false, reflectToAttribute: true},
/** A11y text descriptor for this control. */
alt: String,
@@ -46,7 +38,5 @@ Polymer({
* @param {Event} event
* @private
*/
- stopTap_: function(event) {
- event.stopPropagation();
- },
+ stopTap_: function(event) { event.stopPropagation(); },
});

Powered by Google App Engine
This is Rietveld 408576698