Sha256: 10e3e03a9c5296ec01480cf8fdebfee574596f98950cd4750fa47ff9734e862f

Contents?: true

Size: 1.39 KB

Versions: 3

Compression:

Stored size: 1.39 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1358623055.338897:@value"&{I"
class:EFI"BundledAsset;FI"logical_path;FI"#showboat/plugins/page_title.js;FI"
pathname;FI"Z/Users/mkitt/Sites/showboat/app/assets/javascripts/showboat/plugins/page_title.coffee;FI"content_type;FI"application/javascript;FI"
mtime;FI"2013-01-19T12:17:29-07:00;FI"length;Fi=I"digest;F"%7522e53793a70bf3f38c54a612b475f2I"source;FI"=(function() {

  window.PageTitle = (function() {

    function PageTitle(reveal, prefix) {
      var _ref,
        _this = this;
      this.reveal = reveal;
      this.prefix = prefix;
      this.title = document.querySelector('title');
      if ((_ref = this.prefix) == null) {
        this.prefix = this.title.innerHTML;
      }
      this.total = document.querySelectorAll(".reveal .slides > section:not(.stack)").length;
      this.reveal.addEventListener('slidechanged', function() {
        return _this.render.apply(_this, arguments);
      });
      this.render({
        indexh: this.reveal.getIndices().h
      });
    }

    PageTitle.prototype.render = function(e) {
      return this.title.innerHTML = "" + this.prefix + ": " + e.indexh + " of " + this.total;
    };

    return PageTitle;

  })();

}).call(this);
;FI"required_assets_digest;F"%84776a7fe9ec8d318e01f1b68912f431I"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
showboat-0.0.3 spec/dummy/tmp/cache/assets/D35/A80/sprockets%2Fa1229356499eb5fe1a2b2d5f1bd0058d
showboat-0.0.2 spec/dummy/tmp/cache/assets/D35/A80/sprockets%2Fa1229356499eb5fe1a2b2d5f1bd0058d
showboat-0.0.1 spec/dummy/tmp/cache/assets/D35/A80/sprockets%2Fa1229356499eb5fe1a2b2d5f1bd0058d