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

Side by Side Diff: chrome/browser/resources/chromeos/login/gaia_input.js

Issue 2626123002: [i18n] chromeos login i18n-content to $i18n{} (Closed)
Patch Set: nit 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 Polymer((function() { 5 Polymer((function() {
6 var INPUT_EMAIL_PATTERN = "^[a-zA-Z0-9.!#$%&'*+=?^_`{|}~-]+(@[^\\s@]+)?$"; 6 var INPUT_EMAIL_PATTERN = "^[a-zA-Z0-9.!#$%&'*+=?^_`{|}~-]+(@[^\\s@]+)?$";
7 7
8 return { 8 return {
9 is: 'gaia-input', 9 is: 'gaia-input',
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 this.$.input.pattern = INPUT_EMAIL_PATTERN; 67 this.$.input.pattern = INPUT_EMAIL_PATTERN;
68 this.$.input.type = 'text'; 68 this.$.input.type = 'text';
69 } else { 69 } else {
70 this.$.input.removeAttribute('pattern'); 70 this.$.input.removeAttribute('pattern');
71 this.$.input.type = this.type; 71 this.$.input.type = this.type;
72 } 72 }
73 this.updateDomainVisibility_(); 73 this.updateDomainVisibility_();
74 } 74 }
75 }; 75 };
76 })()); 76 })());
77
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/gaia_input.html ('k') | chrome/browser/resources/chromeos/login/gaia_input_form.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698