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

Unified Diff: chrome/browser/resources/md_user_manager/error_dialog.js

Issue 2600683002: Run tools/clang-format-js on some of chrome/browser/resources/ (Closed)
Patch Set: hackhackhack Created 3 years, 11 months 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/md_user_manager/error_dialog.js
diff --git a/chrome/browser/resources/md_user_manager/error_dialog.js b/chrome/browser/resources/md_user_manager/error_dialog.js
index 7794fa52e867703a0318434a5221568017619c9f..bc8a33808c76926addfd8cd3f6b6eb51a5ec8012 100644
--- a/chrome/browser/resources/md_user_manager/error_dialog.js
+++ b/chrome/browser/resources/md_user_manager/error_dialog.js
@@ -7,27 +7,24 @@
* in the user manager.
*/
(function() {
-Polymer({
- is: 'error-dialog',
+ Polymer({
+ is: 'error-dialog',
+
+ properties: {
+ /**
+ * The message shown in the dialog.
+ * @private {string}
+ */
+ message_: {type: String, value: ''}
+ },
- properties: {
/**
- * The message shown in the dialog.
- * @private {string}
+ * Displays the dialog populated with the given message.
+ * @param {string} message Error message to show.
*/
- message_: {
- type: String,
- value: ''
+ show: function(message) {
+ this.message_ = message;
+ this.$.dialog.open();
}
- },
-
- /**
- * Displays the dialog populated with the given message.
- * @param {string} message Error message to show.
- */
- show: function(message) {
- this.message_ = message;
- this.$.dialog.open();
- }
-});
+ });
})();

Powered by Google App Engine
This is Rietveld 408576698