Sha256: 19df6669f2a73fdafe73e0da7c8c09686c7ff3b8389305f34bc1ab1df7ab12c2
Contents?: true
Size: 1.33 KB
Versions: 3
Compression:
Stored size: 1.33 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1358389537.528718:@value"ê{I" class:EFI"BundledAsset; FI"logical_path; FI"showboat/slide_heading.js; FI" pathname; FI"U/Users/mkitt/Sites/showboat/app/assets/javascripts/showboat/slide_heading.coffee; FI"content_type; FI"application/javascript; FI" mtime; FI"2013-01-16T19:24:53-07:00; FI"length; FiI"digest; F"%2db08531ed6ed26946179b115504c7c7I"source; FI"(function() { window.SlideHeading = (function() { function SlideHeading(reveal) { var _this = this; this.reveal = reveal; this.heading = document.querySelector('#main_heading'); this.reveal.addEventListener('slidechanged', function() { return _this.render.apply(_this, arguments); }); this.render({ currentSlide: _.last(document.querySelectorAll('.present')) }); } SlideHeading.prototype.render = function(e) { var markup, method; markup = e.currentSlide.getAttribute('data-heading') || ''; method = _.isEmpty(markup) ? 'remove' : 'add'; this.heading.innerHTML = markup; return this.heading.classList[method]('in'); }; return SlideHeading; })(); }).call(this); ; FI"required_assets_digest; F"%1cf5acd9586942b0e69a119251bd241fI" _version; F"%6776f581a4329e299531e1d52aa59832
Version data entries
3 entries across 3 versions & 1 rubygems