From 29b0e86089eb3ec0d4bb5811c9b723dfcf36703c Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 4 Oct 2018 14:48:01 +0200 Subject: [PATCH] remove head.min.js in favor of simple built-in script loader --- demo.html | 1 - index.html | 1 - js/reveal.js | 90 ++++++++++++++++------ lib/js/head.min.js | 6 -- plugin/markdown/example.html | 1 - test/assets/external-script-a.js | 1 + test/assets/external-script-b.js | 1 + test/assets/external-script-c.js | 1 + test/assets/external-script-d.js | 1 + test/examples/embedded-media.html | 1 - test/examples/math.html | 1 - test/examples/slide-backgrounds.html | 1 - test/examples/slide-transitions.html | 1 - test/test-async-dependencies.html | 74 ++++++++++++++++++ test/test-dependencies.html | 54 +++++++++++++ test/test-markdown-element-attributes.html | 1 - test/test-markdown-external.html | 1 - test/test-markdown-options.html | 1 - test/test-markdown-slide-attributes.html | 1 - test/test-markdown.html | 1 - test/test-pdf.html | 1 - test/test.html | 1 - 22 files changed, 200 insertions(+), 42 deletions(-) delete mode 100644 lib/js/head.min.js create mode 100644 test/assets/external-script-a.js create mode 100644 test/assets/external-script-b.js create mode 100644 test/assets/external-script-c.js create mode 100644 test/assets/external-script-d.js create mode 100644 test/test-async-dependencies.html create mode 100644 test/test-dependencies.html diff --git a/demo.html b/demo.html index 8aa4aba9..04b47d29 100644 --- a/demo.html +++ b/demo.html @@ -384,7 +384,6 @@ Reveal.addEventListener( 'customevent', function() { - + + + + + + diff --git a/test/test-dependencies.html b/test/test-dependencies.html new file mode 100644 index 00000000..49aaf60e --- /dev/null +++ b/test/test-dependencies.html @@ -0,0 +1,54 @@ + + + + + + + reveal.js - Test Dependencies + + + + + + + +
+
+ + + + + + + + + + diff --git a/test/test-markdown-element-attributes.html b/test/test-markdown-element-attributes.html index 4a092724..409d0687 100644 --- a/test/test-markdown-element-attributes.html +++ b/test/test-markdown-element-attributes.html @@ -122,7 +122,6 @@ - diff --git a/test/test-markdown-external.html b/test/test-markdown-external.html index d4912b0a..76c6ae6c 100644 --- a/test/test-markdown-external.html +++ b/test/test-markdown-external.html @@ -23,7 +23,6 @@ - diff --git a/test/test-markdown-options.html b/test/test-markdown-options.html index 598243a6..5391a195 100644 --- a/test/test-markdown-options.html +++ b/test/test-markdown-options.html @@ -31,7 +31,6 @@ - diff --git a/test/test-markdown-slide-attributes.html b/test/test-markdown-slide-attributes.html index e90a9cf9..ba9e7100 100644 --- a/test/test-markdown-slide-attributes.html +++ b/test/test-markdown-slide-attributes.html @@ -116,7 +116,6 @@ - diff --git a/test/test-markdown.html b/test/test-markdown.html index 00f7e7a9..e1e5926e 100644 --- a/test/test-markdown.html +++ b/test/test-markdown.html @@ -40,7 +40,6 @@ - diff --git a/test/test-pdf.html b/test/test-pdf.html index 5ab8578c..1455fb90 100644 --- a/test/test-pdf.html +++ b/test/test-pdf.html @@ -73,7 +73,6 @@ - diff --git a/test/test.html b/test/test.html index f0a50504..67932b7b 100644 --- a/test/test.html +++ b/test/test.html @@ -76,7 +76,6 @@ -