Sha256: a0237dfd986fa745cfe3db181be8144b6fdfec81da2d38998b4605c1e78878c2

Contents?: true

Size: 1.93 KB

Versions: 7

Compression:

Stored size: 1.93 KB

Contents

{:uriI"file:///Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/services/ShowCharLimitService.js?type=application/javascript&pipeline=self&id=db65de99843d34f09ad8983fe19a543d47e3afde5732d3e70fdf1b1a4f7bf4ef:ET:load_pathI"T/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts;T:
filenameI"/Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/services/ShowCharLimitService.js;T:	nameI"4social_networking/services/ShowCharLimitService;T:logical_pathI"<social_networking/services/ShowCharLimitService.self.js;T:content_typeI"application/javascript;T:sourceI";(function() {
  'use strict';

  // Service to display the char count available for fields
  function charLimitService() {
    var self = this;

    this.textMaxLength = SN_CONSTANTS.TEXT_MAX_LENGTH;
      
    this.resetAllCharCountText = function() {
      // $(SN_CONSTANTS.INPUT_CLASS)
        // .trigger('check.show-char-limit');
    };

    this.showCharLimit = function(inputTag) {
      self.resetAllCharCountText();
      $(inputTag)
        .showCharLimit({
          maxlength: self.textMaxLength
        });
    };

    return this;
  };

  angular.module('socialNetworking.services')
    .factory('charLimitService', [charLimitService]);
})();
;T:
metadata{:dependencieso:Set:
@hash{	I"environment-version;TTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"file-digest:///Users/usabilitymonitor/Desktop/Github/social_networking/app/assets/javascripts/social_networking/services/ShowCharLimitService.js;TT:
requiredo;;{:stubbedo;;{:
linkso;;{:charsetI"
utf-8;F:digest"%iOC1$S:dÑd/@Y:lengthi:dependencies_digest"%mcM
7)/`@=Z:idI"Edb65de99843d34f09ad8983fe19a543d47e3afde5732d3e70fdf1b1a4f7bf4ef;F:
mtimel+LV

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
social_networking-0.13.1 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qzSz_BIr7jY92QmA1BZI7Vy0OkUlkEKs07dZRFTlIWc.cache
social_networking-0.13.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qzSz_BIr7jY92QmA1BZI7Vy0OkUlkEKs07dZRFTlIWc.cache
social_networking-0.11.8 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qzSz_BIr7jY92QmA1BZI7Vy0OkUlkEKs07dZRFTlIWc.cache
social_networking-0.11.5 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qzSz_BIr7jY92QmA1BZI7Vy0OkUlkEKs07dZRFTlIWc.cache
social_networking-0.11.4 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qzSz_BIr7jY92QmA1BZI7Vy0OkUlkEKs07dZRFTlIWc.cache
social_networking-0.11.3 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qzSz_BIr7jY92QmA1BZI7Vy0OkUlkEKs07dZRFTlIWc.cache
social_networking-0.11.0 spec/dummy/tmp/cache/assets/development/sprockets/v3.0/qzSz_BIr7jY92QmA1BZI7Vy0OkUlkEKs07dZRFTlIWc.cache