{:uriI"file:///Users/himn1/dev/rails/engines/loco/lib/assets/javascripts/loco/validators/format.coffee?type=application/javascript&pipeline=self&id=18c6f47f4b581316de6e344fb8ea0968747b1f3d52ac91ebc15666f7975a4078: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/format.coffee;T: nameI"loco/validators/format;T:logical_pathI"#loco/validators/format.self.js;T:content_typeI"application/javascript;T: sourceI"(function() { var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; }, hasProp = {}.hasOwnProperty; App.Validators.Format = (function(superClass) { extend(Format, superClass); function Format() { Format.__super__.constructor.apply(this, arguments); } Format.prototype.validate = function() { var match; match = this.opts["with"].exec(this.val); if (match != null) { return true; } this._addErrorMessage(); return false; }; Format.prototype._addErrorMessage = function() { var message; message = "is invalid"; return this.obj.addErrorMessage(message, { "for": this.attr }); }; return Format; })(App.Validators.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"kfile-digest:///Users/himn1/dev/rails/engines/loco/lib/assets/javascripts/loco/validators/format.coffee;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%"/ȓ:+ߝHZO1=?: lengthi:dependencies_digest"%˺T̄jYm?Eq4ṭk]:idI"E18c6f47f4b581316de6e344fb8ea0968747b1f3d52ac91ebc15666f7975a4078;F: mtimel+$$V