Fix goto plugin: set lib variable from impress:init
This commit is contained in:
1 parent
7505838891
commit
443a4a82c1
2 files changed
+8
No files matched your search
@@ -1659,6 +1659,10 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
var lib;
|
var lib;
|
||||||
|
|
||||||
|
document.addEventListener( "impress:init", function( event ) {
|
||||||
|
lib = event.detail.api.lib;
|
||||||
|
}, false );
|
||||||
|
|
||||||
var isNumber = function( numeric ) {
|
var isNumber = function( numeric ) {
|
||||||
return !isNaN( numeric );
|
return !isNaN( numeric );
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -32,6 +32,10 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
var lib;
|
var lib;
|
||||||
|
|
||||||
|
document.addEventListener( "impress:init", function( event ) {
|
||||||
|
lib = event.detail.api.lib;
|
||||||
|
}, false );
|
||||||
|
|
||||||
var isNumber = function( numeric ) {
|
var isNumber = function( numeric ) {
|
||||||
return !isNaN( numeric );
|
return !isNaN( numeric );
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user