Results
21.08.2019
bene 8.x-2.11 ::
themes/bene_parent/js/main.js
});
// Detect CSS pointer-events support, for IE <= 10. From Modernizr.
var style = document.createElement('a').style;
style.cssText = 'pointer-events:auto';
if (style.pointerEvents !== 'auto') {
$('html').addClass('no-csspointerevents');
}
return this; 21.08.2019
bene 8.x-2.11 ::
themes/bene_base/js/main.js
});
// Detect CSS pointer-events support, for IE <= 10. From Modernizr.
var style = document.createElement('a').style;
style.cssText = 'pointer-events:auto';
if (style.pointerEvents !== 'auto') {
$('html').addClass('no-csspointerevents');
}
return this; 04.04.2018
bootstrap_light 8.x-1.x-dev ::
bootstrap/js/transition.js
'use strict';
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
// ============================================================
function transitionEnd() {
var el = document.createElement('bootstrap')
var transEndEventNames = { 01.04.2020
bootstrapblog 8.x-1.x-dev ::
bootstrap/assets/javascripts/bootstrap/transition.js
'use strict';
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
// ============================================================
function transitionEnd() {
var el = document.createElement('bootstrap')
var transEndEventNames = {
WebkitTransition : 'webkitTransitionEnd', 01.04.2020
bootstrapblog 8.x-1.x-dev ::
bootstrap/assets/javascripts/bootstrap.js
'use strict';
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
// ============================================================
function transitionEnd() {
var el = document.createElement('bootstrap')
var transEndEventNames = {
WebkitTransition : 'webkitTransitionEnd', 30.07.2019
byu_theme 8.x-4.x-dev ::
bootstrap/assets/javascripts/bootstrap/transition.js
'use strict';
// CSS TRANSITION SUPPORT (Shoutout: https://modernizr.com/)
// ============================================================
function transitionEnd() {
var el = document.createElement('bootstrap')
var transEndEventNames = { 30.07.2019
byu_theme 8.x-4.x-dev ::
bootstrap/assets/javascripts/bootstrap.js
'use strict';
// CSS TRANSITION SUPPORT (Shoutout: https://modernizr.com/)
// ============================================================
function transitionEnd() {
var el = document.createElement('bootstrap')
var transEndEventNames = { 30.10.2019
claro 8.x-1.x-dev ::
js/details.js
**/
(function ($, Modernizr, Drupal) {
Drupal.behaviors.claroDetails = {
attach: function attach(context) {
$(context).once('claroDetails').on('click', function (event) {
if (event.target.nodeName === 'SUMMARY') {
$(event.target).trigger('focus');
}
Drupal.behaviors.claroDetailsToggleShim = {
attach: function attach(context) {
if (Modernizr.details || !Drupal.CollapsibleDetails.instances.length) {
return;
}
$(context).find('details .details-title').once('claroDetailsToggleShim').on('keypress', function (event) {
var keyCode = event.keyCode || event.charCode;
if (keyCode === 32) {
}; })(jQuery, Modernizr, Drupal);
30.10.2019
claro 8.x-1.x-dev ::
js/details.es6.js
*/
(($, Modernizr, Drupal) => {
/**
* Workaround for Firefox.
*
* Firefox applies the focus state only for keyboard navigation.
* We have to manually trigger focus to make the behavior consistent across
* browsers.
Drupal.behaviors.claroDetailsToggleShim = {
attach(context) {
if (Modernizr.details || !Drupal.CollapsibleDetails.instances.length) {
return;
}
$(context)
.find("details .details-title")
.once("claroDetailsToggleShim")
}; })(jQuery, Modernizr, Drupal);
30.10.2019
claro 8.x-1.x-dev ::
templates/navigation/details--vertical-tabs.html.twig
#}
{#
Prefix 'details' class to avoid collision with Modernizr.
@todo Remove prefix after https://www.drupal.org/node/2981732 has been solved.
#}
{%
set classes = [
'claro-details', 30.10.2019
claro 8.x-1.x-dev ::
templates/details.html.twig
#}
{#
Prefix 'details' class to avoid collision with Modernizr.
@todo Remove prefix after https://www.drupal.org/node/2981732 has been solved.
#}
{%
set classes = [
'claro-details', 30.10.2019
claro 8.x-1.x-dev ::
claro.libraries.yml
# accessibility reasons, we keep target sizes big enough on touch screen
# devices (by not making these elements smaller than their default size).
# Modernizr is used for recognising whether user is using a touch device or
# not. This allows conditionally rendering small variation of the control
# elements on non-touch devices. In some cases, such as when rendering
# links, it is hard recognize when Modernizr should be attached, therefore
# it has to be always attached.
- core/modernizr
# @todo Remove 'claro/drupal-theme' from dependencies and add to core/drupal
# extensions after https://www.drupal.org/node/3024975 is in.
- claro/drupal-theme
node-form:
version: VERSION 22.01.2019
date_recur_interactive 8.x-2.0-alpha1 ::
js/date_recur_rrule.widget.js
*/
(function ($, Drupal, Modernizr, RRule) {
var widget_count = 0;
RRule.FREQUENCY_ADVERBS = [
Drupal.t('yearly', {}, {context: 'Date recur: Freq'}),
Drupal.t('monthly', {}, {context: 'Date recur: Freq'}),
// attach datepicker if needed.
if (Modernizr.inputtypes.date !== true) {
this.element.find("input[type=date]").once('datePicker').each(function() {
var datepickerSettings = {
dateFormat: 'yy-mm-dd'
};
$(this).datepicker(datepickerSettings);
})
}); }(jQuery, Drupal, Modernizr, RRule));
22.01.2019
date_recur_interactive 8.x-2.0-alpha1 ::
date_recur_interactive.libraries.yml
- date_recur_interactive/rrule
- core/underscore
- core/modernizr
- core/jquery.ui.datepicker
- core/jquery.ui.widget 08.03.2019
datex 8.x-1.8 ::
asset/js/datex.js
(function ($, Modernizr, Drupal) {
Drupal.behaviors.datex = {
attach: function attach(context, settings) {
var $context = $(context);
$context.find('input[data-datex-calendar]').once('datexPicker').each(function () {
var $input = $(this);
}, }; })(jQuery, Modernizr, Drupal);
15.10.2018
ebiz 8.x-1.0 ::
assets/js/html5.js
/*! HTML5 Shiv vpre3.6 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
Uncompressed source: https://github.com/aFarkas/html5shiv */
(function(a,b){function h(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function i(){var a=l.elements;return typeof a=="string"?a.split(" "):a}function j(a){var b={},c=a.createElement,f=a.createDocumentFragment,g=f();a.createElement=function(a){if(!l.shivMethods)return c(a);var f;return b[a]?f=b[a].cloneNode():e.test(a)?f=(b[a]=c(a)).cloneNode():f=c(a),f.canHaveChildren&&!d.test(a)?g.appendChild(f):f},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/\w+/g,function(a){return c(a),g.createElement(a),'c("'+a+'")'})+");return n}")(l,g)}function k(a){var b;return a.documentShived?a:(l.shivCSS&&!f&&(b=!!h(a,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),g||(b=!j(a)),b&&(a.documentShived=b),a)}var c=a.html5||{},d=/^<|^(?:button|form|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,f,g;(function(){var c=b.createElement("a");c.innerHTML="<xyz></xyz>",f="hidden"in c,f&&typeof injectElementWithStyles=="function"&&injectElementWithStyles("#modernizr{}",function(b){b.hidden=!0,f=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).display=="none"}),g=c.childNodes.length==1||function(){try{b.createElement("a")}catch(a){return!0}var c=b.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()})();var l={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:k};a.html5=l,k(b)})(this,document) 21.02.2018
eleven 8.x-1.0-beta5 ::
elevenfeat/elevenfeat.libraries.yml
dependencies:
- system/admin
# - core/modernizr
# ------------------------------------------------------------------------------
# Front End Admin Tools:
# ------------------------------------------------------------------------------
feat.themersbestfriend:
js: 21.02.2018
eleven 8.x-1.0-beta5 ::
eleven/js/modernizr-custom.js
/*! modernizr 3.3.1 (Custom Build) | MIT *
* https://modernizr.com/download/?-cssmask-details-inputtypes-touchevents-addtest-prefixes-setclasses-teststyles !*/
!function(e,t,n){function i(e,t){return typeof e===t}function o(){var e,t,n,o,r,s,a;for(var l in C)if(C.hasOwnProperty(l)){if(e=[],t=C[l],t.name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(o=i(t.fn,"function")?t.fn():t.fn,r=0;r<e.length;r++)s=e[r],a=s.split("."),1===a.length?Modernizr[a[0]]=o:(!Modernizr[a[0]]||Modernizr[a[0]]instanceof Boolean||(Modernizr[a[0]]=new Boolean(Modernizr[a[0]])),Modernizr[a[0]][a[1]]=o),_.push((o?"":"no-")+a.join("-"))}}function r(e){var t=S.className,n=Modernizr._config.classPrefix||"";if(T&&(t=t.baseVal),Modernizr._config.enableJSClass){var i=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(i,"$1"+n+"js$2")}Modernizr._config.enableClasses&&(t+=" "+n+e.join(" "+n),T?S.className.baseVal=t:S.className=t)}function s(e,t){if("object"==typeof e)for(var n in e)x(e,n)&&s(n,e[n]);else{e=e.toLowerCase();var i=e.split("."),o=Modernizr[i[0]];if(2==i.length&&(o=o[i[1]]),"undefined"!=typeof o)return Modernizr;t="function"==typeof t?t():t,1==i.length?Modernizr[i[0]]=t:(!Modernizr[i[0]]||Modernizr[i[0]]instanceof Boolean||(Modernizr[i[0]]=new Boolean(Modernizr[i[0]])),Modernizr[i[0]][i[1]]=t),r([(t&&0!=t?"":"no-")+i.join("-")]),Modernizr._trigger(e,t)}return Modernizr}function a(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):T?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function l(){var e=t.body;return e||(e=a(T?"svg":"body"),e.fake=!0),e}function u(e,n,i,o){var r,s,u,f,c="modernizr",d=a("div"),p=l();if(parseInt(i,10))for(;i--;)u=a("div"),u.id=o?o[i]:c+(i+1),d.appendChild(u);return r=a("style"),r.type="text/css",r.id="s"+c,(p.fake?p:d).appendChild(r),p.appendChild(d),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(t.createTextNode(e)),d.id=c,p.fake&&(p.style.background="",p.style.overflow="hidden",f=S.style.overflow,S.style.overflow="hidden",S.appendChild(p)),s=n(d,e),p.fake?(p.parentNode.removeChild(p),S.style.overflow=f,S.offsetHeight):d.parentNode.removeChild(d),!!s}function f(e,t){return!!~(""+e).indexOf(t)}function c(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,"")}function d(e,t){return function(){return e.apply(t,arguments)}}function p(e,t,n){var o;for(var r in e)if(e[r]in t)return n===!1?e[r]:(o=t[e[r]],i(o,"function")?d(o,n||t):o);return!1}function m(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function h(t,i){var o=t.length;if("CSS"in e&&"supports"in e.CSS){for(;o--;)if(e.CSS.supports(m(t[o]),i))return!0;return!1}if("CSSSupportsRule"in e){for(var r=[];o--;)r.push("("+m(t[o])+":"+i+")");return r=r.join(" or "),u("@supports ("+r+") { #modernizr { position: absolute; } }",function(e){return"absolute"==getComputedStyle(e,null).position})}return n}function y(e,t,o,r){function s(){u&&(delete q.style,delete q.modElem)}if(r=i(r,"undefined")?!1:r,!i(o,"undefined")){var l=h(e,o);if(!i(l,"undefined"))return l}for(var u,d,p,m,y,v=["modernizr","tspan","samp"];!q.style&&v.length;)u=!0,q.modElem=a(v.shift()),q.style=q.modElem.style;for(p=e.length,d=0;p>d;d++)if(m=e[d],y=q.style[m],f(m,"-")&&(m=c(m)),q.style[m]!==n){if(r||i(o,"undefined"))return s(),"pfx"==t?m:!0;try{q.style[m]=o}catch(g){}if(q.style[m]!=y)return s(),"pfx"==t?m:!0}return s(),!1}function v(e,t,n,o,r){var s=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" "+A.join(s+" ")+s).split(" ");return i(t,"string")||i(t,"undefined")?y(a,t,o,r):(a=(e+" "+N.join(s+" ")+s).split(" "),p(a,t,n))}function g(e,t,i){return v(e,n,n,t,i)}var _=[],C=[],w={_version:"3.3.1",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){C.push({name:e,fn:t,options:n})},addAsyncTest:function(e){C.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=w,Modernizr=new Modernizr;var b=w._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];w._prefixes=b;var x,S=t.documentElement,T="svg"===S.nodeName.toLowerCase();!function(){var e={}.hasOwnProperty;x=i(e,"undefined")||i(e.call,"undefined")?function(e,t){return t in e&&i(e.constructor.prototype[t],"undefined")}:function(t,n){return e.call(t,n)}}(),w._l={},w.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),Modernizr.hasOwnProperty(e)&&setTimeout(function(){Modernizr._trigger(e,Modernizr[e])},0)},w._trigger=function(e,t){if(this._l[e]){var n=this._l[e];setTimeout(function(){var e,i;for(e=0;e<n.length;e++)(i=n[e])(t)},0),delete this._l[e]}},Modernizr._q.push(function(){w.addTest=s});var k=a("input"),z="search tel url email datetime date month week time datetime-local number range color".split(" "),P={};Modernizr.inputtypes=function(e){for(var i,o,r,s=e.length,a="1)",l=0;s>l;l++)k.setAttribute("type",i=e[l]),r="text"!==k.type&&"style"in k,r&&(k.value=a,k.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(i)&&k.style.WebkitAppearance!==n?(S.appendChild(k),o=t.defaultView,r=o.getComputedStyle&&"textfield"!==o.getComputedStyle(k,null).WebkitAppearance&&0!==k.offsetHeight,S.removeChild(k)):/^(search|tel)$/.test(i)||(r=/^(url|email)$/.test(i)?k.checkValidity&&k.checkValidity()===!1:k.value!=a)),P[e[l]]=!!r;return P}(z);var j=w.testStyles=u;Modernizr.addTest("touchevents",function(){var n;if("ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch)n=!0;else{var i=["@media (",b.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");j(i,function(e){n=9===e.offsetTop})}return n}),Modernizr.addTest("details",function(){var e,t=a("details");return"open"in t?(j("#modernizr details{display:block}",function(n){n.appendChild(t),t.innerHTML="<summary>a</summary>b",e=t.offsetHeight,t.open=!0,e=e!=t.offsetHeight}),e):!1});var E="Moz O ms Webkit",A=w._config.usePrefixes?E.split(" "):[];w._cssomPrefixes=A;var N=w._config.usePrefixes?E.toLowerCase().split(" "):[];w._domPrefixes=N;var L={elem:a("modernizr")};Modernizr._q.push(function(){delete L.elem});var q={style:L.elem.style};Modernizr._q.unshift(function(){delete q.style}),w.testAllProps=v,w.testAllProps=g,Modernizr.addTest("cssmask",g("maskRepeat","repeat-x",!0)),o(),r(_),delete w.addTest,delete w.addAsyncTest;for(var O=0;O<Modernizr._q.length;O++)Modernizr._q[O]();e.Modernizr=Modernizr}(window,document); 21.02.2018
eleven 8.x-1.0-beta5 ::
eleven/eleven.libraries.yml
dependencies:
- system/admin
- core/modernizr
- core/jquery.cookie
# ------------------------------------------------------------------------------
#
# ------------------------------------------------------------------------------
# jquery_ui: 07.04.2018
express 8.x-1.x-dev ::
themes/contrib/bootstrap/js/misc/collapse.js
* Overrides core/misc/progress.js.
*/
(function ($, Modernizr, Drupal) {
"use strict";
/**
* The collapsible details object represents a single collapsible details element.
*/
Drupal.CollapsibleDetails = CollapsibleDetails; })(jQuery, Modernizr, Drupal);
