| Index: third_party/polymer/v1_0/components-chromium/paper-input/paper-input-char-counter-extracted.js
|
| diff --git a/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-char-counter-extracted.js b/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-char-counter-extracted.js
|
| deleted file mode 100644
|
| index 673f5e79bf900bea273f12f1a0569048f6213f9b..0000000000000000000000000000000000000000
|
| --- a/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-char-counter-extracted.js
|
| +++ /dev/null
|
| @@ -1,41 +0,0 @@
|
| -
|
| -
|
| -(function() {
|
| -
|
| - Polymer({
|
| -
|
| - is: 'paper-input-char-counter',
|
| -
|
| - behaviors: [
|
| - Polymer.PaperInputAddonBehavior
|
| - ],
|
| -
|
| - properties: {
|
| -
|
| - _charCounterStr: {
|
| - type: String,
|
| - value: '0'
|
| - }
|
| -
|
| - },
|
| -
|
| - update: function(state) {
|
| - if (!state.inputElement) {
|
| - return;
|
| - }
|
| -
|
| - state.value = state.value || '';
|
| -
|
| - // Account for the textarea's new lines.
|
| - var str = state.value.replace(/(\r\n|\n|\r)/g, '--').length;
|
| -
|
| - if (state.inputElement.hasAttribute('maxlength')) {
|
| - str += '/' + state.inputElement.getAttribute('maxlength');
|
| - }
|
| - this._charCounterStr = str;
|
| - }
|
| -
|
| - });
|
| -
|
| -})();
|
| -
|
|
|