From 9d35e61c46366c3836f1bd48dab4f8b3efbd9201 Mon Sep 17 00:00:00 2001 From: "stephen@cubedesigners.com" Date: Thu, 21 Sep 2017 16:25:16 +0000 Subject: [PATCH] Merge compiler changes from searchengine branch to burgermenu branch. WIP #807 @0.25 --- inc/ws/Util/html5/burgermenu/class.ws.html5.compiler.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/inc/ws/Util/html5/burgermenu/class.ws.html5.compiler.php b/inc/ws/Util/html5/burgermenu/class.ws.html5.compiler.php index eb4d991e0..99f968245 100644 --- a/inc/ws/Util/html5/burgermenu/class.ws.html5.compiler.php +++ b/inc/ws/Util/html5/burgermenu/class.ws.html5.compiler.php @@ -25,7 +25,7 @@ class wsHTML5Compiler { 'js/libs/mmenu/jquery.mmenu.js', 'js/libs/mmenu/jquery.mmenu.rtl.js', 'js/libs/mmenu/jquery.mmenu.offcanvas.js', - 'js/libs/gsap/TweenMax.js', + 'js/libs/gsap/TweenMax.js', 'js/libs/gsap/jquery.gsap.js', 'js/libs/gal/gal.js', 'js/libs/gal/gal.filesystem.js', @@ -68,7 +68,6 @@ class wsHTML5Compiler { public $debugJsFiles = array( 'js/libs/Three.js', 'data/search.index.js', - 'data/search.texts.js', ); public $testJsFiles = array( 'js/libs/cube/fb.js', @@ -978,10 +977,8 @@ class wsHTML5Compiler { public function writeTexts() { $this->daoBook->makeTextsIndexes($this->book, $this->pages, $index, $textes, true); $jsindex = 'var INDEX=' . $index . ';' . "\r"; - $jstexts = 'var TEXTS=' . $textes . ';' . "\r"; file_put_contents($this->vdir . '/data/search.index.js', $jsindex); - file_put_contents($this->vdir . '/data/search.texts.js', $jstexts); if ($this->book->parametres->highlightResults) { file_put_contents($this->vdir . '/data/search.highlight.js', 'var HIGHLIGHTS=' . json_encode($this->daoBook->makeHighlightIndex($this->book, $this->pages)) . ";\r"); } -- 2.39.5