| 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();
|
| - }
|
| -});
|
| + });
|
| })();
|
|
|