Comparing version 0.1.0-beta.7 to 0.1.0-beta.8
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -13,4 +13,4 @@ * | ||
: typeof define === "function" && define.amd | ||
? define("homey", ["exports"], factory) | ||
: factory((global.homey = global.homey || {})); | ||
? define(["exports"], factory) | ||
: factory((global.homey = global.homey || {})); | ||
})(this, function(exports) { | ||
@@ -120,3 +120,4 @@ "use strict"; | ||
return [].slice.call(element.attributes).reduce(function(data, _ref) { | ||
var name = _ref.name, value = _ref.value; | ||
var name = _ref.name, | ||
value = _ref.value; | ||
@@ -309,4 +310,2 @@ if (/^data-(.+)/.test(name)) { | ||
}); | ||
element.normalize(); | ||
} | ||
@@ -348,4 +347,2 @@ | ||
}); | ||
element.normalize(); | ||
} | ||
@@ -352,0 +349,0 @@ |
@@ -1,3 +0,3 @@ | ||
/*! homey v0.1.0-beta.7 | 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){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return r.reduce(function(t,r){return n(e,r)||t},!1)}function o(e,n){var r=t(e,n);return r&&e.classList.remove(n),r}function u(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce(function(t,n){return o(e,n)||t},!1)}function c(e,r,u){return((3===arguments.length?u:!t(e,r))?n:o)(e,r)}function i(e,t){return Object.keys(t).reduce(function(n,r){var o=t[r];return c(e,r,o)||n},!1)}function a(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce(function(t,n){return("string"==typeof n?c(e,n):i(e,n))||t},!1)}function f(e){return e.dataset}function s(e){return[].slice.call(e.attributes).reduce(function(e,t){var n=t.name,r=t.value;return/^data-(.+)/.test(n)&&(e[n.substr(5).replace(/-\w/g,function(e){return e[1].toUpperCase()})]=r),e},{})}function l(e){return K(e)}function d(e,t){return Q.call(e,t)}function v(e){return e.parentElement}function m(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 p(e,t,n,r){function o(n){if(n.target instanceof Element)for(var o=n.target;o;){if(d(o,t))return n.delegateTarget=e,r(n),void delete n.delegateTarget;if(o===e)return;o=v(o)}}var u=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return m(e,n,o,u)}function h(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:n}function g(e){return Array.prototype.slice.call(e)}function y(e,t,n,r){return new CustomEvent(e,{bubbles:n,cancelable:r,detail:t})}function b(e,t,n,r){var o=document.createEvent("CustomEvent");return o.initCustomEvent(e,n,r,t),o}function E(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{bubbles:!0,cancelable:!0},o=h(r,"bubbles",!0),u=h(r,"cancelable",!0),c=R(t,n,o,u);return e.dispatchEvent(c)}function C(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 m(e,t,r,o)}function w(e,t){e.insertAdjacentHTML("beforeend",t)}function A(e,t){e.appendChild(t)}function L(e,t){g(t).forEach(function(t){A(e,t)})}function M(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];n.forEach(function(t){"string"==typeof t?w(e,t):t instanceof Node?A(e,t):L(e,t)}),e.normalize()}function T(e,t){e.insertAdjacentHTML("afterbegin",t)}function x(e,t){e.insertBefore(t,e.firstChild)}function S(e,t){g(t).reverse().forEach(function(t){x(e,t)})}function j(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];n.reverse().forEach(function(t){"string"==typeof t?T(e,t):t instanceof Node?x(e,t):S(e,t)}),e.normalize()}function H(e){var t=v(e);return!!t&&(t.removeChild(e),!0)}function q(e,t){e.innerHTML=t}function O(e,t){e.textContent=t}function z(e,t){return e.querySelector(t)}function B(e,t){return g(e.querySelectorAll(t))}function k(e,t){for(var n="string"==typeof t?function(e){return d(e,t)}:t,r=v(e);r;){if(n(r))return r;r=v(r)}return null}function N(e,t){return d(e,t)?e:k(e,t)}function P(e,t){return e.closest(t)}function _(e,t){return"string"==typeof t?V(e,t):t(e)?e:k(e,t)}function U(e){return e.innerHTML}function D(e){return e.textContent}function F(e){for(var t=[],n=v(e);n;)t.push(n),n=v(n);return t}function G(e,t){var n="string"==typeof t?function(e){return d(e,t)}:t;return F(e).filter(n)}var I=window.document.body,J=window.document.documentElement,K=function(){return document.createElement("div").dataset?f:s}(),Q=function(){var e=document.createElement("div");return e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector}(),R="function"==typeof window.CustomEvent?y:b,V=function(){return document.createElement("div").closest?P:N}();e.body=I,e.html=J,e.addClass=n,e.addClasses=r,e.hasClass=t,e.removeClass=o,e.removeClasses=u,e.toggleClass=c,e.toggleClasses=a,e.dataset=l,e.delegate=p,e.dispatch=E,e.on=m,e.once=C,e.append=M,e.prepend=j,e.remove=H,e.setHtml=q,e.setText=O,e.query=z,e.queryAll=B,e.closest=_,e.getHtml=U,e.getText=D,e.matches=d,e.parent=v,e.parentBy=k,e.parents=F,e.parentsBy=G,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
/*! homey v0.1.0-beta.8 | 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(["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){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return r.reduce(function(t,r){return n(e,r)||t},!1)}function o(e,n){var r=t(e,n);return r&&e.classList.remove(n),r}function u(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce(function(t,n){return o(e,n)||t},!1)}function c(e,r,u){return((3===arguments.length?u:!t(e,r))?n:o)(e,r)}function i(e,t){return Object.keys(t).reduce(function(n,r){var o=t[r];return c(e,r,o)||n},!1)}function a(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.reduce(function(t,n){return("string"==typeof n?c(e,n):i(e,n))||t},!1)}function f(e){return e.dataset}function s(e){return[].slice.call(e.attributes).reduce(function(e,t){var n=t.name,r=t.value;return/^data-(.+)/.test(n)&&(e[n.substr(5).replace(/-\w/g,function(e){return e[1].toUpperCase()})]=r),e},{})}function l(e){return K(e)}function d(e,t){return Q.call(e,t)}function v(e){return e.parentElement}function m(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 p(e,t,n,r){function o(n){if(n.target instanceof Element)for(var o=n.target;o;){if(d(o,t))return n.delegateTarget=e,r(n),void delete n.delegateTarget;if(o===e)return;o=v(o)}}var u=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return m(e,n,o,u)}function h(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:n}function g(e){return Array.prototype.slice.call(e)}function y(e,t,n,r){return new CustomEvent(e,{bubbles:n,cancelable:r,detail:t})}function b(e,t,n,r){var o=document.createEvent("CustomEvent");return o.initCustomEvent(e,n,r,t),o}function E(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{bubbles:!0,cancelable:!0},o=h(r,"bubbles",!0),u=h(r,"cancelable",!0),c=R(t,n,o,u);return e.dispatchEvent(c)}function C(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 m(e,t,r,o)}function w(e,t){e.insertAdjacentHTML("beforeend",t)}function A(e,t){e.appendChild(t)}function L(e,t){g(t).forEach(function(t){A(e,t)})}function M(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];n.forEach(function(t){"string"==typeof t?w(e,t):t instanceof Node?A(e,t):L(e,t)})}function T(e,t){e.insertAdjacentHTML("afterbegin",t)}function x(e,t){e.insertBefore(t,e.firstChild)}function S(e,t){g(t).reverse().forEach(function(t){x(e,t)})}function j(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];n.reverse().forEach(function(t){"string"==typeof t?T(e,t):t instanceof Node?x(e,t):S(e,t)})}function H(e){var t=v(e);return!!t&&(t.removeChild(e),!0)}function q(e,t){e.innerHTML=t}function O(e,t){e.textContent=t}function B(e,t){return e.querySelector(t)}function k(e,t){return g(e.querySelectorAll(t))}function N(e,t){for(var n="string"==typeof t?function(e){return d(e,t)}:t,r=v(e);r;){if(n(r))return r;r=v(r)}return null}function P(e,t){return d(e,t)?e:N(e,t)}function _(e,t){return e.closest(t)}function z(e,t){return"string"==typeof t?V(e,t):t(e)?e:N(e,t)}function U(e){return e.innerHTML}function D(e){return e.textContent}function F(e){for(var t=[],n=v(e);n;)t.push(n),n=v(n);return t}function G(e,t){var n="string"==typeof t?function(e){return d(e,t)}:t;return F(e).filter(n)}var I=window.document.body,J=window.document.documentElement,K=function(){return document.createElement("div").dataset?f:s}(),Q=function(){var e=document.createElement("div");return e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector}(),R="function"==typeof window.CustomEvent?y:b,V=function(){return document.createElement("div").closest?_:P}();e.body=I,e.html=J,e.addClass=n,e.addClasses=r,e.hasClass=t,e.removeClass=o,e.removeClasses=u,e.toggleClass=c,e.toggleClasses=a,e.dataset=l,e.delegate=p,e.dispatch=E,e.on=m,e.once=C,e.append=M,e.prepend=j,e.remove=H,e.setHtml=q,e.setText=O,e.query=B,e.queryAll=k,e.closest=z,e.getHtml=U,e.getText=D,e.matches=d,e.parent=v,e.parentBy=N,e.parents=F,e.parentsBy=G,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=homey.min.js.map |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -21,3 +21,4 @@ * | ||
return [].slice.call(element.attributes).reduce(function(data, _ref) { | ||
var name = _ref.name, value = _ref.value; | ||
var name = _ref.name, | ||
value = _ref.value; | ||
@@ -24,0 +25,0 @@ if (/^data-(.+)/.test(name)) { |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -52,4 +52,2 @@ * | ||
}); | ||
element.normalize(); | ||
} |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -52,4 +52,2 @@ * | ||
}); | ||
element.normalize(); | ||
} |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
/*! | ||
* homey v0.1.0-beta.7 | ||
* homey v0.1.0-beta.8 | ||
* https://github.com/demiazz/homey | ||
@@ -4,0 +4,0 @@ * |
{ | ||
"name": "homey", | ||
"version": "0.1.0-beta.7", | ||
"version": "0.1.0-beta.8", | ||
"description": "Homey shortcut's collection for DOM API", | ||
@@ -54,3 +54,3 @@ "license": "MIT", | ||
"devDependencies": { | ||
"babel-core": "^6.24.1", | ||
"babel-core": "^6.25.0", | ||
"babel-eslint": "^7.2.3", | ||
@@ -63,3 +63,3 @@ "babel-plugin-external-helpers": "^6.22.0", | ||
"chalk": "^1.1.3", | ||
"cross-env": "^5.0.0", | ||
"cross-env": "^5.0.1", | ||
"documentation": "^4.0.0-rc.1", | ||
@@ -73,3 +73,3 @@ "eslint": "^3.10.2", | ||
"flow-bin": "^0.47.0", | ||
"jasmine-core": "^2.6.2", | ||
"jasmine-core": "^2.6.3", | ||
"karma": "^1.7.0", | ||
@@ -85,8 +85,8 @@ "karma-coverage": "^1.1.1", | ||
"klaw-sync": "^2.1.0", | ||
"lint-staged": "^3.5.1", | ||
"lint-staged": "^3.6.1", | ||
"mkdirp": "^0.5.1", | ||
"phantomjs-prebuilt": "^2.1.13", | ||
"pre-commit": "^1.2.2", | ||
"prettier": "^1.3.0", | ||
"rollup": "^0.41.6", | ||
"prettier": "^1.4.4", | ||
"rollup": "^0.42.0", | ||
"rollup-plugin-babel": "^2.7.1", | ||
@@ -97,5 +97,5 @@ "rollup-plugin-commonjs": "^8.0.2", | ||
"rollup-plugin-uglify": "^2.0.1", | ||
"uglify-js": "^3.0.14", | ||
"uglify-js": "^3.0.15", | ||
"uglify-save-license": "^0.4.1" | ||
} | ||
} |
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
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
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
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
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
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
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
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
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
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
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
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
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
104647
1379