{:uriI"file:///home/bauser/Documents/dev/ruby/opensource/hatchy/app/assets/javascripts/hatchy/projects/show.js?type=application/javascript&pipeline=debug&id=8a19f87212ecec22f47163b99bf1e381ae1f90159a0c3280327de98deee5b0b4: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"Fvar show = (function(){ // Cache DOM var $time = $('#clock'); var $description = $('#description'); var $budget = $('#budget'); var $posts = $('#posts'); var $hash = window.location.hash var $ulMenu = $('#project-show li a'); var $currentView = $($hash); var $ulMenuLinks = $.grep( $( '#project-show li a' ), function (o) { return o.hash === window.location.hash; }); var $ulMenuDescription = $.grep( $( '#project-show li a' ), function (o) { return o.hash === '#description'; }); // Bind Events $ulMenu.on('click', alert($hash)); // Functions function showHashLocation() { if ($hash == '') { $description.removeClass('hidden'); $($ulMenuDescription).parent().addClass('active'); } else { $currentView.removeClass('hidden'); $($ulMenuLinks).parent().addClass('active'); } } function toggleViews() { } 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(); showHashLocation(); return{}; })(); ;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=4fee9131b1b8e21f2981902f146389664387f3d150b88e6226fa7e9276fcd6aa;T: charsetI" utf-8;F: digest"%Բ6[ ju(려>:94m: lengthiF:dependencies_digest"%ҼP(w|ˮU(sښ=T:idI"E8a19f87212ecec22f47163b99bf1e381ae1f90159a0c3280327de98deee5b0b4;F: mtimel+V