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

Side by Side Diff: third_party/polymer/v0_8/components-chromium/iron-autogrow-textarea/iron-autogrow-textarea-extracted.js

Issue 1162963002: Revert "Rename polymer and cr_elements v0_8 to v1_0" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 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
121 return; 121 return;
122 } 122 }
123 this.tokens = (input && input.value) ? input.value.replace(/&/gm, '&amp;') .replace(/"/gm, '&quot;').replace(/'/gm, '&#39;').replace(/</gm, '&lt;').replace (/>/gm, '&gt;').split('\n') : ['']; 123 this.tokens = (input && input.value) ? input.value.replace(/&/gm, '&amp;') .replace(/"/gm, '&quot;').replace(/'/gm, '&#39;').replace(/</gm, '&lt;').replace (/>/gm, '&gt;').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 })
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698