Chromium Code Reviews| Index: ui/webui/resources/js/i18n_behavior.js |
| diff --git a/ui/webui/resources/js/i18n_behavior.js b/ui/webui/resources/js/i18n_behavior.js |
| index 56428c9b7e3ec3024506ff9424134f0bf82bee34..8308eef570b7437833136be24a104bc5dd27c884 100644 |
| --- a/ui/webui/resources/js/i18n_behavior.js |
| +++ b/ui/webui/resources/js/i18n_behavior.js |
| @@ -67,3 +67,15 @@ var I18nBehavior = { |
| return loadTimeData.valueExists(id); |
| }, |
| }; |
| + |
| +/** |
| + * @typedef {{ |
|
michaelpg
2016/09/15 02:35:19
sweet. consider a "TODO(b/24294625): remove duplic
stevenjb
2016/09/15 18:01:20
Done.
|
| + * i18n: function(string, ...string): string}}, |
| + * i18nAdvanced: function({ |
| + * substitutions: (Array<string>|undefined), |
| + * attrs: (Object<function(Node, string):boolean>|undefined), |
| + * tags: (Array<string>|undefined)}, opts), |
| + * i18nExists: function(string) |
| + * }} |
| + */ |
| +I18nBehavior.Proto; |