{:uriI"file:///Users/benoit/www/agilidee/dorsale/app/assets/javascripts/dorsale/common/comments.coffee?type=application/javascript&pipeline=self&id=fc0b1b75872c9e06f4cf9156ee5c4f393cc6fdb2f9e4e0cf18862fe88e9b6875:ET:load_pathI">/Users/benoit/www/agilidee/dorsale/app/assets/javascripts;T: filenameI"]/Users/benoit/www/agilidee/dorsale/app/assets/javascripts/dorsale/common/comments.coffee;T: nameI"dorsale/common/comments;T:logical_pathI"$dorsale/common/comments.self.js;T:content_typeI"application/javascript;T: sourceI"(function() { window.dorsaleComments = { load: function() { return $("#dorsale-comments").map(function() { var container, url; container = $(this); url = this.dataset.url; return $.ajax({ url: url, success: function(data) { container.html(data); setupUploadInputs(container); dorsaleComments.setupCreateForm(); dorsaleComments.setupEditButtons(); return dorsaleComments.setupDeleteButtons(); } }); }); }, reload: function() { return dorsaleComments.load(); }, setupCreateForm: function() { return $("#new_comment").on("ajax:success", dorsaleComments.reload); }, setupEditForm: function() { return $("#edit_comment").on("ajax:success", dorsaleComments.reload); }, setupEditButtons: function() { return $("#dorsale-comment [href$=edit]").click(function() { var container, url; container = $(this).parents(".comment"); url = this.href; $.ajax({ url: url, success: function(data) { container.html(data); return dorsaleComments.setupEditForm(); } }); return false; }); }, setupDeleteButtons: function() { return $("#dorsale-comments [data-method=delete]").map(function() { return $(this).on("ajax:success", dorsaleComments.reload); }); } }; }).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"kfile-digest:///Users/benoit/www/agilidee/dorsale/app/assets/javascripts/dorsale/common/comments.coffee;TTF: requiredo;;}F: stubbedo;;}F: linkso;;}F: charsetI" utf-8;F: digest"%*IYʌDϢU=僗As)UW(ӭC: lengthi:dependencies_digest"%fQ_835di吪̪~:idI"Efc0b1b75872c9e06f4cf9156ee5c4f393cc6fdb2f9e4e0cf18862fe88e9b6875;F: mtimel+uW