From 64eda45a14ac392c3183f5ad6d25fa040a53d882 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Wed, 3 Apr 2013 15:39:59 +0200 Subject: [PATCH] Added autoload so other modules easily may use our classes. Moved H5P scripts to library array. Fixed editor dependencies. --- h5p.classes.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/h5p.classes.php b/h5p.classes.php index a55ea56..8d91310 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -886,6 +886,13 @@ class H5PStorage { * Functions and storage shared by the other H5P classes */ class H5PCore { + + public static $scripts = array( + 'js/jquery.js', + 'js/h5p.js', + 'js/flowplayer-3.2.12.min.js', + ); + public $h5pF; public $librariesJsonData; public $contentJsonData;