From d4a030f953df0e34ad288ab12fe9b8d09e5cade9 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sat, 7 Mar 2020 18:22:19 +0100 Subject: [PATCH] move plugin logic to Plugins controller --- demo.html | 6 +- dist/reveal.css | 2 +- dist/reveal.min.js | 2 +- gulpfile.js | 6 +- js/controllers/plugins.js | 193 +++++++++++++++++++++++++++++++++++++ js/index.js | 15 ++- js/reveal.js | 198 ++++---------------------------------- 7 files changed, 235 insertions(+), 187 deletions(-) create mode 100644 js/controllers/plugins.js diff --git a/demo.html b/demo.html index 8249a0b7..d68215d7 100644 --- a/demo.html +++ b/demo.html @@ -411,8 +411,10 @@ Reveal.addEventListener( 'customevent', function() {