From 38d8269a76718659a3bbd3a3bc4b6743a8b0dc45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A5l=20J=C3=B8rgensen?= Date: Mon, 8 Jul 2013 08:59:14 +0200 Subject: [PATCH] Added new element type in coursepresentation: ExportableTextArea --- js/h5p.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/js/h5p.js b/js/h5p.js index 3b1fa97..1a82743 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -175,6 +175,16 @@ H5P.libraryFromString = function (library) { } }; +/** + * Get the path to the library + * + * @param {string} machineName The machine name of the library + * @returns {string} The full path to the library + */ +H5P.getLibraryPath = function(machineName) { + return H5PIntegration.getLibraryPath(machineName); +}; + /** * Recursivly clone the given object. *