Sha256: cee049d19b02c9e001d175beeeb7db797e51f3a457f542ee8464135d8ab93521

Contents?: true

Size: 1.93 KB

Versions: 3

Compression:

Stored size: 1.93 KB

Contents

{:uriI"Ëfile:///Users/himn1/dev/rails/engines/loco/lib/assets/javascripts/loco/validators/base.coffee?type=application/javascript&pipeline=self&id=829116aea835838e91c380da5af9f689463653e427fa85f008d02833db4a2e4d:ET:load_pathI"?/Users/himn1/dev/rails/engines/loco/lib/assets/javascripts;T:
filenameI"[/Users/himn1/dev/rails/engines/loco/lib/assets/javascripts/loco/validators/base.coffee;T:	nameI"loco/validators/base;T:logical_pathI"!loco/validators/base.self.js;T:content_typeI"application/javascript;T:sourceI"U(function() {
  App.Validators.Base = (function() {
    Base.sharedInstances = {};

    Base.instance = function(obj, attr, opts) {
      var sharedInstance, validatorName;
      validatorName = this.name;
      if (this.sharedInstances[validatorName] == null) {
        this.sharedInstances[validatorName] = new App.Validators[validatorName];
      }
      sharedInstance = this.sharedInstances[validatorName];
      sharedInstance.assignAttribs(obj, attr, opts);
      return sharedInstance;
    };

    function Base() {
      this.obj = null;
      this.attr = null;
      this.val = null;
      this.opts = null;
    }

    Base.prototype.assignAttribs = function(obj, attr, opts) {
      this.obj = obj;
      this.attr = attr;
      this.val = this.obj[this.attr];
      return this.opts = opts;
    };

    return Base;

  })();

}).call(this);
;T:
metadata{:dependencieso:Set:
@hash}	I"environment-version;TTI"environment-paths;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"ifile-digest:///Users/himn1/dev/rails/engines/loco/lib/assets/javascripts/loco/validators/base.coffee;TTF:
requiredo;;}F:stubbedo;;}F:
linkso;;}F:charsetI"
utf-8;F:digest"%9™yÆŽŸy7@è«~ãóE'“d¡ãkIÌ Žð:lengthiU:dependencies_digest"%º$ýÞR¨›î+\0WrŒ›ø |5Èã²æÑðll:idI"E829116aea835838e91c380da5af9f689463653e427fa85f008d02833db4a2e4d;F:
mtimel+€ž$V

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
loco-rails-1.0.2 test/dummy/tmp/cache/assets/test/sprockets/v3.0/cZBA5OiiYAe8EZdwJHdKcFQD9rwyTE_3arTk0m_Pb5w.cache
loco-rails-1.0.1 test/dummy/tmp/cache/assets/test/sprockets/v3.0/cZBA5OiiYAe8EZdwJHdKcFQD9rwyTE_3arTk0m_Pb5w.cache
loco-rails-1.0.0 test/dummy/tmp/cache/assets/test/sprockets/v3.0/cZBA5OiiYAe8EZdwJHdKcFQD9rwyTE_3arTk0m_Pb5w.cache