{:uriI"file:///Users/himn1/dev/rails/engines/loco/lib/assets/javascripts/loco/validators/format.coffee?type=application/javascript&pipeline=self&id=5cb9a75402feb04e68bd8c9eb520482a6fc8a50bfb9cfaade700d28e39c9b63f: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; } return this._addErrorMessage(); }; Format.prototype._addErrorMessage = function() { var message; message = this.opts.message != null ? this.opts.message : App.I18n[App.Env.loco.getLocale()].errors.messages.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;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%ǹsYY6<7/"(0Q Z: lengthi-:dependencies_digest"%كQʁ3*]"H[ Òb6.q:idI"E5cb9a75402feb04e68bd8c9eb520482a6fc8a50bfb9cfaade700d28e39c9b63f;F: mtimel+W