{:uriI"file:///Users/tvd/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/alchemy_cms-4.0.3/app/assets/javascripts/alchemy/alchemy.char_counter.js.coffee?type=application/javascript&pipeline=self&id=103e7a067442ad08d42b82be12d4bde5d0a74ecca177657c4fa9705f35f09381:ET:load_pathI"g/Users/tvd/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/alchemy_cms-4.0.3/app/assets/javascripts;T: filenameI"/Users/tvd/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/alchemy_cms-4.0.3/app/assets/javascripts/alchemy/alchemy.char_counter.js.coffee;T: nameI"!alchemy/alchemy.char_counter;T:logical_pathI")alchemy/alchemy.char_counter.self.js;T:content_typeI"application/javascript;T: sourceI"(function() { window.Alchemy.CharCounter = (function() { var countChars; function CharCounter(field) { this.$field = $(field); this.max_chars = this.$field.data('alchemy-char-counter'); this.text = Alchemy.t('allowed_chars', this.max_chars); this.$display = $(''); this.$field.after(this.$display); countChars.call(this); this.$field.keyup((function(_this) { return function() { countChars.call(_this); return true; }; })(this)); } countChars = function() { var char_length; char_length = this.$field.val().length; this.$display.removeClass('too-long'); this.$display.text(char_length + " " + this.text); if (char_length > this.max_chars) { return this.$display.addClass('too-long'); } }; return CharCounter; })(); }).call(this); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"file-digest:///Users/tvd/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/alchemy_cms-4.0.3/app/assets/javascripts/alchemy/alchemy.char_counter.js.coffee;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%xFQ]'lHq~;0: lengthi:dependencies_digest"%|0"Ѹ_G2l}mUU:idI"E103e7a067442ad08d42b82be12d4bde5d0a74ecca177657c4fa9705f35f09381;F: mtimel+6[