10679e0c61d33f8ad4cd23c4c8a6bae5bcda2052
[moodle.git] / h5p / js / h5p_overrides.js
1 H5P._getLibraryPath = H5P.getLibraryPath;
2 H5P.getLibraryPath = function (library) {
3     if (H5PIntegration.moodleLibraryPaths) {
4         if (H5PIntegration.moodleLibraryPaths[library]) {
5             return H5PIntegration.moodleLibraryPaths[library];
6         }
7     }
8     return H5P._getLibraryPath(library);
9 };