OLD | NEW |
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 | 5 |
6 Polymer('gaia-input', (function() { | 6 Polymer('gaia-input', (function() { |
7 var INPUT_EMAIL_PATTERN = "^[a-zA-Z0-9.!#$%&'*+=?^_`{|}~-]+(@[^\\s@]+)?$"; | 7 var INPUT_EMAIL_PATTERN = "^[a-zA-Z0-9.!#$%&'*+=?^_`{|}~-]+(@[^\\s@]+)?$"; |
8 | 8 |
9 return { | 9 return { |
10 required: false, | 10 required: false, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 } | 46 } |
47 this.setDomainVisibility(); | 47 this.setDomainVisibility(); |
48 }, | 48 }, |
49 | 49 |
50 valueChanged: function() { | 50 valueChanged: function() { |
51 this.setDomainVisibility(); | 51 this.setDomainVisibility(); |
52 }, | 52 }, |
53 | 53 |
54 domainChanged: function() { | 54 domainChanged: function() { |
55 this.setDomainVisibility(); | 55 this.setDomainVisibility(); |
56 } | 56 }, |
57 }; | 57 }; |
58 })()); | 58 })()); |
59 | 59 |
OLD | NEW |