Issue #2207589 by droplet: Update JS lib: domready to 1.0.4.

8.0.x
webchick 2014-03-07 12:32:48 -08:00
parent 574ebdbfbd
commit 2859313ac6
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/*! /*!
* domready (c) Dustin Diaz 2012 - License MIT * domready (c) Dustin Diaz 2014 - License MIT
*/ */
!function(e,t){typeof module!="undefined"?module.exports=t():typeof define=="function"&&typeof define.amd=="object"?define(t):this[e]=t()}("domready",function(e){function p(e){h=1;while(e=t.shift())e()}var t=[],n,r=!1,i=document,s=i.documentElement,o=s.doScroll,u="DOMContentLoaded",a="addEventListener",f="onreadystatechange",l="readyState",c=o?/^loaded|^c/:/^loaded|c/,h=c.test(i[l]);return i[a]&&i[a](u,n=function(){i.removeEventListener(u,n,r),p()},r),o&&i.attachEvent(f,n=function(){/^c/.test(i[l])&&(i.detachEvent(f,n),p())}),e=o?function(n){self!=top?h?n():t.push(n):function(){try{s.doScroll("left")}catch(t){return setTimeout(function(){e(n)},50)}n()}()}:function(e){h?e():t.push(e)}}) !function(e,t){typeof module!="undefined"?module.exports=t():typeof define=="function"&&typeof define.amd=="object"?define(t):this[e]=t()}("domready",function(){var e=[],t,n=document,r="DOMContentLoaded",i=/^loaded|^i|^c/.test(n.readyState);return i||n.addEventListener(r,t=function(){n.removeEventListener(r,t),i=1;while(t=e.shift())t()}),function(t){i?t():e.push(t)}})

View File

@ -25,8 +25,7 @@ ckeditor:
domready: domready:
remote: https://github.com/ded/domready remote: https://github.com/ded/domready
# @todo Stable release required for Drupal 8.0. version: 1.0.4
version: master
js: js:
assets/vendor/domready/ready.min.js: { weight: -21 } assets/vendor/domready/ready.min.js: { weight: -21 }