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

Unified Diff: remoting/webapp/me2mom/l10n.js

Issue 8336004: Improve web-app type safety. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 2 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
« no previous file with comments | « remoting/webapp/me2mom/host_plugin_proto.js ('k') | remoting/webapp/me2mom/oauth2.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/me2mom/l10n.js
diff --git a/remoting/webapp/me2mom/l10n.js b/remoting/webapp/me2mom/l10n.js
index 00b62d0de91312c9d7613196ee6639327b821898..487d1c00e7a8bba8b616ef9b9c0af7e427252db6 100644
--- a/remoting/webapp/me2mom/l10n.js
+++ b/remoting/webapp/me2mom/l10n.js
@@ -44,7 +44,7 @@ l10n.localizeElement = function(element, opt_substitutions) {
l10n.localize = function() {
var elements = document.querySelectorAll('[i18n-content]');
for (var i = 0; i < elements.length; ++i) {
- var element = elements[i];
+ /** @type {Element} */ var element = elements[i];
var substitutions = null;
for (var j = 1; j < 9; ++j) {
var attr = 'i18n-value-' + j;
« no previous file with comments | « remoting/webapp/me2mom/host_plugin_proto.js ('k') | remoting/webapp/me2mom/oauth2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698