~raoul-snyman/openlp/fix-macos-pdf-test

« back to all changes in this revision

Viewing changes to scripts/reveal-js.patch

  • Committer: Raoul Snyman
  • Date: 2019-02-14 07:04:30 UTC
  • mfrom: (2766.3.118 webengine-migrate)
  • Revision ID: raoul@snyman.info-20190214070430-nxe1vaeaapq3ult5
Migration from WebKit to Webengine. Also introduced reveal.js for slide rendering, new screen setup dialogs and many other changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--- reveal.js.orig      2018-08-01 10:37:51.000000000 +0200
 
2
+++ reveal.js   2019-02-11 21:25:39.396198927 +0100
 
3
@@ -383,6 +383,14 @@
 
4
        }
 
5
 
 
6
        /**
 
7
+        * Restarts up the presentation if the client is capable.
 
8
+        */
 
9
+    function reinitialize() {
 
10
+        initialized = false;
 
11
+        initialize(config);
 
12
+    }
 
13
+
 
14
+       /**
 
15
         * Inspect the client to see what it's capable of, this
 
16
         * should only happens once per runtime.
 
17
         */
 
18
@@ -5372,6 +5380,7 @@
 
19
                VERSION: VERSION,
 
20
 
 
21
                initialize: initialize,
 
22
+               reinitialize: reinitialize,
 
23
                configure: configure,
 
24
 
 
25
                sync: sync,