Sha256: 150640ab3a684fc9c27efe099ed6c0c939f2095bc6ff1cd80f0ebace22f2edd7
Contents?: true
Size: 1.78 KB
Versions: 9
Compression:
Stored size: 1.78 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1338918697.128673:@value"·{I" class:EFI"ProcessedAsset; FI"logical_path; F"assessment_flipper.jsI" pathname; F"P/Users/paul/Sites/woople-theme/app/assets/javascripts/assessment_flipper.jsI"content_type; FI"application/javascript; FI" mtime; FI"2012-06-05T13:43:42-04:00; FI"length; Fi¼I"digest; F"%4f4695b0418c787dbe10eeb2fffb7410I"source; FI"¼$(document).ready(function() { function setFrontHeight(element) { var height = element.height(); element.css({ height: height + 'px' }).attr('data-original-height', height); } function removeFrontHeight(element) { element.css({ height: 'inherit' }); } $('.assessment .flip-action a').on('click', function() { $(this).closest('.assessment').addClass('flip'); var front = $(this).closest('.front'); setFrontHeight(front); var frontHeight = front.height(); var back = $(this).closest('.front').next('.back'); var backHeight = back.height(); if (frontHeight > backHeight) { back.css({ height: '100%' }); } else { front.css({ height: backHeight + 'px' }); } }); $('.assessment .flip-action-back a').on('click', function() { var assessment = $(this).closest('.assessment').removeClass('flip'); var front = assessment.find('.front'); removeFrontHeight(front); }); }); ; FI"dependency_digest; F"%bd4edc7690f4a89cebcef91b6b4e4b2aI"required_paths; F["P/Users/paul/Sites/woople-theme/app/assets/javascripts/assessment_flipper.jsI"dependency_paths; F[{I" path; F"P/Users/paul/Sites/woople-theme/app/assets/javascripts/assessment_flipper.jsI" mtime; FI"2012-06-05T13:43:42-04:00; FI"digest; F"%4f4695b0418c787dbe10eeb2fffb7410I" _version; F"%9f3b95dd7ea3030dc35985c0a8020862
Version data entries
9 entries across 9 versions & 1 rubygems