From: Vincent Vanwaelscappel Date: Wed, 8 Jul 2020 12:32:21 +0000 (+0200) Subject: wip #3757 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=7a14b275860d1785190d13611d589192ea63908a;p=fluidbook-html5.git wip #3757 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.accessibility.js b/js/libs/fluidbook/fluidbook.accessibility.js index 8c4780e3..8f8c4ec7 100644 --- a/js/libs/fluidbook/fluidbook.accessibility.js +++ b/js/libs/fluidbook/fluidbook.accessibility.js @@ -45,4 +45,36 @@ FluidbookAccessibility.prototype = { } return '
' + this.fluidbook.settings.accessibleTexts[page] + '
'; }, -} \ No newline at end of file +}; + +/*! outline.js v1.2.0 - https://github.com/lindsayevans/outline.js/ */ +(function(d){ + + var style_element = d.createElement('STYLE'), + dom_events = 'addEventListener' in d, + add_event_listener = function(type, callback){ + // Basic cross-browser event handling + if(dom_events){ + d.addEventListener(type, callback); + }else{ + d.attachEvent('on' + type, callback); + } + }, + set_css = function(css_text){ + // Handle setting of