Sha256: 56b3ee8a78f7b1890920f50fd04f523f7f1772940671ef396f12212f0c7ac36c
Contents?: true
Size: 1.86 KB
Versions: 2
Compression:
Stored size: 1.86 KB
Contents
{I" class:ETI"ProcessedAsset; FI"logical_path; TI"$alchemy/alchemy.char_counter.js; FI" pathname; TI"†/Users/tvd/.rvm/gems/ruby-2.1.5@alchemy-gem/gems/alchemy_cms-3.1.0.beta2/app/assets/javascripts/alchemy/alchemy.char_counter.js.coffee; FI"content_type; TI"application/javascript; TI" mtime; Tl+,ð£TI"length; Ti¦I"digest; TI"%0287a3fae7bf978af3bc32e2889d39cb; FI"source; TI"¦(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 = $('<small class="alchemy-char-counter"/>'); 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); ; TI"dependency_digest; TI"%26d6d3928ab81e54f84e122c29e7a411; FI"required_paths; T[I"†/Users/tvd/.rvm/gems/ruby-2.1.5@alchemy-gem/gems/alchemy_cms-3.1.0.beta2/app/assets/javascripts/alchemy/alchemy.char_counter.js.coffee; FI"dependency_paths; T[{I" path; TI"†/Users/tvd/.rvm/gems/ruby-2.1.5@alchemy-gem/gems/alchemy_cms-3.1.0.beta2/app/assets/javascripts/alchemy/alchemy.char_counter.js.coffee; FI" mtime; TI"2014-12-31T13:46:36+01:00; TI"digest; TI"%84bf1948e86995f1e8450a3d3a6aa139; FI" _version; TI"%e4fae582d35919173aa703e1ae9b242e; F
Version data entries
2 entries across 1 versions & 1 rubygems