MCPcopy Create free account
hub / github.com/codrops/OnScrollShapeMorph / d

Function d

js/splitting.min.js:3–3  ·  view source on GitHub ↗
(n,t,e)

Source from the content-addressed store, hash-verified

1!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):n.Splitting=t()}(this,function(){"use strict"
2var u=document,l=u.createTextNode.bind(u)
3function d(n,t,e){n.style.setProperty(t,e)}function f(n,t){return n.appendChild(t)}function p(n,t,e,r){var i=u.createElement("span")
4return t&&(i.className=t),e&&(!r&&i.setAttribute("data-"+t,e),i.textContent=e),n&&f(n,i)||i}function h(n,t){return n.getAttribute("data-"+t)}function m(n,t){return n&&0!=n.length?n.nodeName?[n]:[].slice.call(n[0].nodeName?n:(t||u).querySelectorAll(n)):[]}function o(n){for(var t=[];n--;)t[n]=[]
5return t}function g(n,t){n&&n.some(t)}function c(t){return function(n){return t[n]}}var a={}
6function n(n,t,e,r){return{by:n,depends:t,key:e,split:r}}function e(n){return function t(e,n,r){var i=r.indexOf(e)

Callers 4

bFunction · 0.70
splitting.min.jsFile · 0.70
ycFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected