Handling several digits in major and minor version

pull/21/head
Paal Joergensen 2016-04-21 13:22:01 +02:00
parent 414751aad2
commit 6869ecbb09
1 changed files with 1 additions and 1 deletions

View File

@ -1503,7 +1503,7 @@ H5P.Coords = function (x, y, w, h) {
* return false if the library parameter is invalid
*/
H5P.libraryFromString = function (library) {
var regExp = /(.+)\s(\d)+\.(\d)$/g;
var regExp = /(.+)\s(\d+)\.(\d+)$/g;
var res = regExp.exec(library);
if (res !== null) {
return {