Fix goto plugin: set lib variable from impress:init

This commit is contained in:
Henrik Ingo
2017-10-30 19:16:55 +02:00
parent 7505838891
commit 443a4a82c1
2 changed files with 8 additions and 0 deletions

View File

@@ -1659,6 +1659,10 @@
"use strict";
var lib;
document.addEventListener( "impress:init", function( event ) {
lib = event.detail.api.lib;
}, false );
var isNumber = function( numeric ) {
return !isNaN( numeric );
};