{:uriI"file:///home/bauser/Documents/dev/ruby/opensource/hatchy/app/assets/javascripts/hatchy/projects/show.js?type=application/javascript&pipeline=debug&id=2944471a7bcde950c74274304177d46caebde3bf82014e1e8a991d502df78dc5:ET:load_pathI"M/home/bauser/Documents/dev/ruby/opensource/hatchy/app/assets/javascripts;T: filenameI"e/home/bauser/Documents/dev/ruby/opensource/hatchy/app/assets/javascripts/hatchy/projects/show.js;T: nameI"hatchy/projects/show;T:logical_pathI""hatchy/projects/show.debug.js;T:content_typeI"application/javascript;T: sourceI"var show = (function(){ // Cache DOM var $time = $('#clock'); var $description = $('#description-view'); var $descriptionLink = $("#project-show li a[href='#description']" ); var $budget = $('#budget-view'); var $currentSection = $(window.location.hash + '-view'); var $hashLink = $.grep( $( '#project-show li a' ), function (o) { return o.hash === window.location.hash; }); // Bind Events // Functions function showCurrentSection() { if (window.location.hash == '') { alert('hello'); $description.removeClass('hidden'); $($descriptionLink).parent().addClass('active'); }else{ $currentSection.removeClass('hidden'); $($hashLink).parent().addClass('active'); } } function setClock() { $time.countdown($time.data('time')) .on('update.countdown', function (e) { var format = '%H:%M:%S'; if(e.offset.days > 0) { format = '%-d day%!d ' + format; } if(e.offset.weeks > 0) { format = '%-w week%!w ' + format; } $(this).html(e.strftime(format)); }) .on('finish.countdown', function(e) { $(this).html('This offer has expired!') .parent().addClass('disabled'); }); } setClock(); return{ currentSection : $currentSection, descriptionLink : $descriptionLink }; })(); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"[processors:type=application/javascript&file_type=application/javascript&pipeline=debug;TTI"sfile-digest:///home/bauser/Documents/dev/ruby/opensource/hatchy/app/assets/javascripts/hatchy/projects/show.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TT: linkso;;{: included[I"file:///home/bauser/Documents/dev/ruby/opensource/hatchy/app/assets/javascripts/hatchy/projects/show.js?type=application/javascript&pipeline=self&id=9f78417c36dc6c66f8a6c2b1ac338806c6b319cf83b343f6ebebfadd1f9634a2;T: charsetI" utf-8;F: digest"%2 :b'-\PXЩ ٍ: lengthi:dependencies_digest"%v<{(Y^ CZ۬ R`/.:idI"E2944471a7bcde950c74274304177d46caebde3bf82014e1e8a991d502df78dc5;F: mtimel+jV