{:uriI"©file://app/assets/javascripts/models/article/comment.coffee?type=application/javascript&pipeline=self&id=7352d5b5ef67581a945a047dd881eb2b5ffa4c3c4e5b31a693c7a7efbe723791:ET:load_pathI"app/assets/javascripts;T: filenameI"9app/assets/javascripts/models/article/comment.coffee;T: nameI"models/article/comment;T:logical_pathI"#models/article/comment.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.Models.Article.Comment = (function(superClass) { extend(Comment, superClass); Comment.identity = "Article.Comment"; Comment.remoteName = "Comment"; Comment.resources = { url: '/user/articles/:articleId/comments', paginate: { per: 10 }, main: { url: '/articles/:articleId/comments', paginate: { per: 5, param: "page-num" } }, admin: { url: '/admin/articles/:articleId/comments', paginate: { per: 5 } } }; Comment.attributes = { author: { validations: { presence: true } }, text: { validations: { presence: true, vulgarity: true } }, articleId: { type: "Int", validations: { presence: true }, remoteName: "article_id" }, createdAt: { type: "Date", remoteName: "created_at" }, updatedAt: { type: "Date", remoteName: "updated_at" }, emotion: { type: "Int" }, pinned: { type: "Boolean" }, adminRate: { type: "Int", remoteName: "admin_rate" }, approved: { type: "Boolean" } }; function Comment(data) { Comment.__super__.constructor.call(this, data); } Comment.receivedSignal = function(signal, data) {}; Comment.prototype.receivedSignal = function(signal, data) {}; return Comment; })(App.Models.Base); }).call(this); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"Gfile-digest://app/assets/javascripts/models/article/comment.coffee;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%k†W;MÒàð­ÖṳV5‘dä ¹ åR{YYá: lengthiŽ:dependencies_digest"%fÇÒ‡ó©È1ElüU¥ëÒŠîAç[%.¦±hm¥ Û:idI"E7352d5b5ef67581a945a047dd881eb2b5ffa4c3c4e5b31a693c7a7efbe723791;F: mtimel++rZ