diff --git a/docs/examples.iife.js b/docs/examples.iife.js index cd58116..6ced46e 100644 --- a/docs/examples.iife.js +++ b/docs/examples.iife.js @@ -426,54 +426,54 @@ return rtn_object; }; - var template = function template() { + var template$9 = function template() { return "\n
"; }; - var template$1 = function template() { + var template$8 = function template() { return "\n "; }; - var template$2 = function template() { + var template$7 = function template() { return "\n "; }; - var template$3 = function template() { + var template$6 = function template() { return "\n "; }; - var template$4 = function template() { + var template$5 = function template() { return "\n "; }; - var template$5 = function template() { + var template$4 = function template() { return "\n "; }; - var template$6 = function template() { + var template$3 = function template() { return "\n "; }; - var template$7 = function template(context) { + var template$2 = function template(context) { return "\n "); }; - var template$8 = function template(href) { + var template$1 = function template(href) { return "\n "); }; - var template$9 = function template(event) { + var template = function template(event) { return "\n "); }; initializeModalListener({ - template: template$1, + template: template$8, trigger_selector: '[data-modal-trigger="basic"]' }); // Fade in / Fade out // @see https://gist.github.com/paulirish/5d52fb081b3570c81e3a for an explanation of the `void modal_node.clientHeight` expressions. initializeModalListener({ - template: template$2, + template: template$7, trigger_selector: '[data-modal-trigger="fade"]', remove_modal_after_event_type: 'transitionend', afterInsertIntoDom: function afterInsertIntoDom(modal_node) { @@ -487,7 +487,7 @@ }); // Animate in initializeModalListener({ - template: template, + template: template$9, trigger_selector: '[data-modal-trigger="animation"]', // Technically the inner modal has the animation but this event bubbles up so this works remove_modal_after_event_type: 'animationend', @@ -504,7 +504,7 @@ }); // Body scroll lock initializeModalListener({ - template: template$3, + template: template$6, trigger_selector: '[data-modal-trigger="scroll-lock"]', afterInsertIntoDom: function afterInsertIntoDom() { document.body.style.overflow = 'hidden'; @@ -516,7 +516,7 @@ var click_outside_inner_node, closeModalOnClickOutside; initializeModalListener({ - template: template$4, + template: template$5, trigger_selector: '[data-modal-trigger="click-outside"]', afterInsertIntoDom: function afterInsertIntoDom(modal_node, trigger_node, e) { // When opening the modal, stop it from immediately closing @@ -542,7 +542,7 @@ var closeModalOnEscPress; initializeModalListener({ - template: template$5, + template: template$4, trigger_selector: '[data-modal-trigger="close-on-esc"]', onAfterSetup: function onAfterSetup(modal_node, _ref2) { var isOpen = _ref2.isOpen, @@ -564,7 +564,7 @@ }); // Automatically open modal on some condition (checking a hash param) initializeModalListener({ - template: template$6, + template: template$3, trigger_selector: '[data-modal-trigger="auto-open-on-hash-param"]', onAfterSetup: function onAfterSetup(modal_node, _ref3) { var open = _ref3.open; @@ -582,7 +582,7 @@ }); // Modal with dynamic context initializeModalListener({ - template: template$7, + template: template$2, trigger_selector: '[data-modal-trigger="dynamic-context"]', context: function context() { return Math.random(); @@ -590,7 +590,7 @@ }); // Link with an interstitial initializeModalListener({ - template: template$8, + template: template$1, trigger_selector: '[data-modal-trigger="interstitial"]', beforeInsertIntoDom: function beforeInsertIntoDom(modal_node, trigger_node, event) { event.preventDefault(); @@ -601,7 +601,7 @@ }); // Reading the custom `event` that is passed when `open()` is called var modal = initializeModalListener({ - template: template$9, + template: template, trigger_selector: '[data-modal-trigger="dynamic-context-reading-event"]', context: function context(trigger_node, event) { return event;