Added autoload so other modules easily may use our classes.

Moved H5P scripts to library array.
Fixed editor dependencies.
namespaces
Frode Petterson 2013-04-03 15:39:59 +02:00
parent b51e08a3aa
commit 64eda45a14
1 changed files with 7 additions and 0 deletions

View File

@ -886,6 +886,13 @@ class H5PStorage {
* Functions and storage shared by the other H5P classes * Functions and storage shared by the other H5P classes
*/ */
class H5PCore { class H5PCore {
public static $scripts = array(
'js/jquery.js',
'js/h5p.js',
'js/flowplayer-3.2.12.min.js',
);
public $h5pF; public $h5pF;
public $librariesJsonData; public $librariesJsonData;
public $contentJsonData; public $contentJsonData;