Comparing version 0.1.0-beta.1 to 0.1.0-beta.2
/*! | ||
* homey v0.1.0-beta.1 | ||
* homey v0.1.0-beta.2 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
@@ -1,3 +0,3 @@ | ||
/*! homey v0.1.0-beta.1 | https://github.com/demiazz/homey | (c) Alexey Plutalov | MIT license */ | ||
/*! homey v0.1.0-beta.2 | https://github.com/demiazz/homey | (c) Alexey Plutalov | MIT license */ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define("homey",["exports"],t):t(e.homey=e.homey||{})}(this,function(e){"use strict";function t(e,t){return e.classList.contains(t)}function n(e,n){var r=!t(e,n);return r&&e.classList.add(n),r}function r(e,n){var r=t(e,n);return r&&e.classList.remove(n),r}function o(e,o,u){return((3===arguments.length?u:!t(e,o))?n:r)(e,o)}function u(e){return e.dataset}function c(e){return[].slice.call(e.attributes).reduce(function(e,t){var n=t.name,r=t.value;if(/^data-(.+)/.test(n)){e[n.substr(5).replace(/-\w/g,function(e){return e[1].toUpperCase()})]=r}return e},{})}function i(e){return A(e)}function a(e,t){return O.call(e,t)}function l(e){return e.parentElement}function s(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return e.addEventListener(t,n,r),function(){return e.removeEventListener(t,n,r)}}function f(e,t,n,r){function o(n){if(n.target instanceof Element)for(var o=n.target;o;){if(a(o,t))return n.delegateTarget=e,r(n),void delete n.delegateTarget;if(o===e)return;o=l(o)}}var u=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return s(e,n,o,u)}function d(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:n}function v(e){return Array.prototype.slice.call(e)}function m(e,t,n,r){return new CustomEvent(e,{bubbles:t,cancelable:n,detail:r})}function p(e,t,n,r){var o=document.createEvent("CustomEvent");return o.initCustomEvent(e,t,n,r),o}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{bubbles:!0,cancelable:!0,detail:null},r=d(n,"bubbles",!0),o=d(n,"cancelable",!0),u=d(n,"detail",null),c=B(t,r,o,u);return e.dispatchEvent(c)}function y(e,t,n){function r(u){e.removeEventListener(t,r,o),n(u)}var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return s(e,t,r,o)}function b(e){var t=l(e);return!!t&&(t.removeChild(e),!0)}function g(e,t){return e.querySelector(t)}function E(e,t){return v(e.querySelectorAll(t))}function w(e,t){for(var n="string"==typeof t?function(e){return a(e,t)}:t,r=l(e);r;){if(n(r))return r;r=l(r)}return null}function C(e,t){return a(e,t)?e:w(e,t)}function S(e,t){return e.closest(t)}function L(e,t){return"string"==typeof t?P(e,t):t(e)?e:w(e,t)}function M(e){for(var t=[],n=l(e);n;)t.push(n),n=l(n);return t}function q(e,t){var n="string"==typeof t?function(e){return a(e,t)}:t;return M(e).filter(n)}var j=window.document.body,x=window.document.documentElement,A=function(){return document.createElement("div").dataset?u:c}(),O=function(){var e=document.createElement("div");return e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector}(),B="function"==typeof window.CustomEvent?m:p,P=function(){return document.createElement("div").closest?S:C}();e.body=j,e.html=x,e.addClass=n,e.hasClass=t,e.removeClass=r,e.toggleClass=o,e.dataset=i,e.delegate=f,e.dispatch=h,e.on=s,e.once=y,e.remove=b,e.query=g,e.queryAll=E,e.closest=L,e.matches=a,e.parent=l,e.parentBy=w,e.parents=M,e.parentsBy=q,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=homey.min.js.map |
/*! | ||
* homey v0.1.0-beta.1 | ||
* homey v0.1.0-beta.2 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.1 | ||
* homey v0.1.0-beta.2 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.1 | ||
* homey v0.1.0-beta.2 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
{ | ||
"name": "homey", | ||
"version": "0.1.0-beta.1", | ||
"version": "0.1.0-beta.2", | ||
"description": "Homey shortcut's collection for DOM API", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0