| Index: ui/webui/resources/js/i18n_template_no_process.js
|
| diff --git a/ui/webui/resources/js/i18n_template_no_process.js b/ui/webui/resources/js/i18n_template_no_process.js
|
| index fc4ca7d63387b44c6ff120ebfb7eefcdb96559c7..13ebab415136669dd5a23dd4aff396c933fa990b 100644
|
| --- a/ui/webui/resources/js/i18n_template_no_process.js
|
| +++ b/ui/webui/resources/js/i18n_template_no_process.js
|
| @@ -30,7 +30,7 @@ var i18nTemplate = (function() {
|
| * This provides the handlers for the templating engine. The key is used as
|
| * the attribute name and the value is the function that gets called for every
|
| * single node that has this attribute.
|
| - * @type {Object}
|
| + * @type {!Object}
|
| */
|
| var handlers = {
|
| /**
|
| @@ -104,7 +104,7 @@ var i18nTemplate = (function() {
|
| process(element, dictionary);
|
| }
|
| } else {
|
| - element.setAttribute(propName, value);
|
| + element.setAttribute(propName, /** @type {string} */(value));
|
| }
|
| });
|
| }
|
|
|