Sha256: 417f62007fcd809edf7566dcf143541edb851501aecbeea26db9b2f8afe41794

Contents?: true

Size: 1.38 KB

Versions: 3

Compression:

Stored size: 1.38 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1358390620.1511738:@value"{I"
class:EFI"BundledAsset;FI"logical_path;FI"showboat/page_title.js;FI"
pathname;FI"R/Users/mkitt/Sites/showboat/app/assets/javascripts/showboat/page_title.coffee;FI"content_type;FI"application/javascript;FI"
mtime;FI"2013-01-16T19:43:16-07:00;FI"length;FiAI"digest;F"%9084323e3ea8f93240505b18b52eebe6I"source;FI"A(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 + 1;
      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"%0db609caf97802732a0306dc3f2c761eI"
_version;F"%6776f581a4329e299531e1d52aa59832

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
showboat-0.0.3 spec/dummy/tmp/cache/assets/D83/010/sprockets%2F43b1d3d52ada3044d0efb41be47b4a92
showboat-0.0.2 spec/dummy/tmp/cache/assets/D83/010/sprockets%2F43b1d3d52ada3044d0efb41be47b4a92
showboat-0.0.1 spec/dummy/tmp/cache/assets/D83/010/sprockets%2F43b1d3d52ada3044d0efb41be47b4a92