o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1375908458.890344: @value"¡{I" class:EFI"ProcessedAsset;FI"logical_path;FI"lentil/buttonhandler.js;TI" pathname;FI"[/Users/jmcasden/Code/MHL-vagrant/lentil/app/assets/javascripts/lentil/buttonhandler.js;TI"content_type;FI"application/javascript;FI" mtime;FI"2013-05-10T16:29:04-04:00;FI" length;FioI" digest;F"%c70c589f2fba86efec091d7198d18fc2I" source;FI"ofunction buttonhandler() { $(".like-btn, .flag-confirm").click(function(e) { button = $(this); imageId = $(".fancybox-overlay, .fancybox-mobile, .image-show").attr("id"); if (!$(button).is(".already-clicked")) { url = $(button).attr("href"); $.post(url, function() { $(button).addClass("already-clicked"); $("#" + imageId + " .text-overlay").find(".initial-state").addClass("already-clicked"); }); } if ($(button).is(".like-btn")) { $("#" + imageId + " .like-btn").toggle(); } else if ($(button).is(".flag-confirm")) { $("#" + imageId + " .flag-btn.initial-state").remove(); $("#" + imageId + " .flag-btn.secondary-state").show(); $('.modal').modal('hide'); } e.preventDefault(); }); } ; ;FI"dependency_digest;F"%aaee0e1df8e3f46926f97e94d2505d65I"required_paths;F[I"[/Users/jmcasden/Code/MHL-vagrant/lentil/app/assets/javascripts/lentil/buttonhandler.js;TI"dependency_paths;F[{I" path;FI"[/Users/jmcasden/Code/MHL-vagrant/lentil/app/assets/javascripts/lentil/buttonhandler.js;TI" mtime;FI"2013-05-10T16:29:04-04:00;FI" digest;F"%d0328a391a9213e8aaaa13623c18ff93I" _version;F"%ffd318ca8b794f42f5029101c2cf5d91