| OLD | NEW |
| 1 | 1 |
| 2 | 2 |
| 3 Polymer({ | 3 Polymer({ |
| 4 | 4 |
| 5 is: 'iron-autogrow-textarea', | 5 is: 'iron-autogrow-textarea', |
| 6 | 6 |
| 7 behaviors: [ | 7 behaviors: [ |
| 8 Polymer.IronValidatableBehavior | 8 Polymer.IronValidatableBehavior |
| 9 ], | 9 ], |
| 10 | 10 |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 return; | 121 return; |
| 122 } | 122 } |
| 123 this.tokens = (input && input.value) ? input.value.replace(/&/gm, '&')
.replace(/"/gm, '"').replace(/'/gm, ''').replace(/</gm, '<').replace
(/>/gm, '>').split('\n') : ['']; | 123 this.tokens = (input && input.value) ? input.value.replace(/&/gm, '&')
.replace(/"/gm, '"').replace(/'/gm, ''').replace(/</gm, '<').replace
(/>/gm, '>').split('\n') : ['']; |
| 124 return this._constrain(this.tokens); | 124 return this._constrain(this.tokens); |
| 125 }, | 125 }, |
| 126 | 126 |
| 127 _updateCached: function() { | 127 _updateCached: function() { |
| 128 this.$.mirror.innerHTML = this._constrain(this.tokens); | 128 this.$.mirror.innerHTML = this._constrain(this.tokens); |
| 129 } | 129 } |
| 130 }) | 130 }) |
| OLD | NEW |