Sha256: ad4ab3e9d9cd5fbb859e2ab18a91efe22f638ccd6bc539951a94b6c247f1dc3c

Contents?: true

Size: 1.04 KB

Versions: 11

Compression:

Stored size: 1.04 KB

Contents

(function() {
  function extend( a, b ) {
    for(var i in b) {
      a[i] = b[i];
    }
  }
  var baseOptions = {
    transition: '<%= config.transition %>',

    dependencies: [
      { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
      { src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
      { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
      { src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
      { src: 'plugin/zoom-js/zoom.js', async: true },
      { src: 'plugin/notes/notes.js', async: true }
    ]
  };
  var configOptions = <%= config.revealjs_config.to_json %>
  var initializeOptions = {};
  extend(initializeOptions, baseOptions);
  extend(initializeOptions, configOptions);
  Reveal.initialize(initializeOptions);
})();

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
reveal-ck-3.7.0 files/reveal-ck/templates/index.html/script.js.erb
reveal-ck-3.6.0 files/reveal-ck/templates/index.html/script.js.erb
reveal-ck-3.5.1 files/reveal-ck/templates/index.html/script.js.erb
reveal-ck-3.5.0 files/reveal-ck/templates/index.html/script.js.erb
reveal-ck-3.4.0 files/reveal-ck/templates/index.html/script.js.erb
reveal-ck-3.3.1 files/reveal-ck/templates/index.html/script.js.erb
reveal-ck-3.3.0 files/reveal-ck/templates/index.html/script.js.erb
reveal-ck-3.2.0 files/reveal-ck/templates/index.html/script.js.erb
reveal-ck-3.1.0 files/reveal-ck/templates/index.html/script.js.erb
reveal-ck-3.0.1 files/reveal-ck/templates/index.html/script.js.erb
reveal-ck-3.0.0 files/reveal-ck/templates/index.html/script.js.erb