Data-Dump-HTML-PopUp
view release on metacpan or search on metacpan
share/jquery-3.7.1/jquery-3.7.1.min.js view on Meta::CPAN
/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof windo...
share/jquery-3.7.1/jquery.min.js view on Meta::CPAN
/*! jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof windo...
share/modally-1.1.0/jquery.modally.js view on Meta::CPAN
$elem.css('padding-right', storePaddingRight($elem) + scroll_width );
}
});
}
};
$.fn.disableScroll = function() {
var $this = $(this);
var $html = $('html');
if (!$html.data('scroll-blocked')) {
$html.css({
overflow: 'hidden',
height: '100%'
});
$html.data('scroll-blocked', true);
}
$this.paddingFill();
};
$.fn.undoPaddingFill = function() {
var $this = $(this);
if (window.scroll_width) {
$this.each(function() {
share/modally-1.1.0/jquery.modally.js view on Meta::CPAN
}
});
}
};
$.fn.enableScroll = function() {
var $this = $(this);
$this.undoPaddingFill();
var $html = $('html');
if ($html.data('scroll-blocked')) {
$html.css({
overflow: 'auto',
height: 'auto'
});
$html.data('scroll-blocked', false);
}
};
// https://www.youtube.com/watch?v=gJ-WmYn_9GE
window._modally_video_re = {};
window._modally_video_re.YOUTUBE = /(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/ ]{11})/i;
window._modally_video_re.VIMEO = /(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^\/]*)\/videos\/|album\/(?:\d+)\/video\/|video\/|)(\d+)(?:[a-zA-Z0-9_\-]+)?/i;
window._modally_video_re.VIDEO = /(.*\/[^\/]+\.mp4|ogg|ogv|ogm|webm|avi)\s?$/i;
//TODO: add support for brightcove and cloudfront
//TODO: automatic video modal detection
( run in 0.836 second using v1.01-cache-2.11-cpan-49f99fa48dc )