Comparing version 1.0.2 to 1.0.3
@@ -1,1 +0,1 @@ | ||
export default mixmix;var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function mixmix(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];function e(t){var n=this,r=o.map(function(t){return Object.getOwnPropertyDescriptors(t).name.value});Object.keys(Object(t)).forEach(function(e){r.includes(e)&&Object.defineProperties(n,Object.getOwnPropertyDescriptors(new(o.filter(function(t){return t.name===e})[0])))})}return o.forEach(function(t){n(e,t),n(e.prototype,t.prototype)}),e;function n(t,e){var n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertyDescriptors(e),o=Object.getOwnPropertyNames(function(){}).concat(["constructor"]),c=t;return n.forEach(function(t){o.includes(t)||Object.defineProperty(c,t,__assign(__assign({},r[t]),{enumerable:0}))}),c}} | ||
export default mixmix;var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var c in t=arguments[n])Object.prototype.hasOwnProperty.call(t,c)&&(e[c]=t[c]);return e}).apply(this,arguments)};function mixmix(){for(var a=[],e=0;e<arguments.length;e++)a[e]=arguments[e];function t(e){var t,i=this,s=a.map(function(e){return Object.getOwnPropertyDescriptors(e).name.value});(0===(t=Object.keys(Object(e))).length?s:t).forEach(function(t){var e,n,r,c,o;s.includes(t)&&(e=Object.getOwnPropertyDescriptors(new(a.filter(function(e){return e.name===t})[0])),n=Object.keys(e),r=Object.values(e),o={},n.forEach(function(e,t){o[e]=__assign(__assign({},r[t]),{enumerable:0}))}),o}} |
@@ -1,2 +0,2 @@ | ||
var __assign = (this && this.__assign) || function () { | ||
typeof window!='undefined'&&(window.mixmix=mixmix);typeof exports!='undefined'&&(module.exports=exports.default=mixmix,exports.__esModule={value:!0});typeof define=='function'&&define(()=>{return mixmix});var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
@@ -3,0 +3,0 @@ for (var s, i = 1, n = arguments.length; i < n; i++) { |
@@ -1,1 +0,1 @@ | ||
typeof window!='undefined'&&(window.mixmix=mixmix);typeof exports!='undefined'&&(module.exports=exports.default=mixmix,exports.__esModule={value:!0});typeof define=='function'&&define(()=>{return mixmix});var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t}).apply(this,arguments)};function mixmix(){for(var o=[],t=0;t<arguments.length;t++)o[t]=arguments[t];function e(t){var n=this,r=o.map(function(t){return Object.getOwnPropertyDescriptors(t).name.value});Object.keys(Object(t)).forEach(function(e){r.includes(e)&&Object.defineProperties(n,Object.getOwnPropertyDescriptors(new(o.filter(function(t){return t.name===e})[0])))})}return o.forEach(function(t){n(e,t),n(e.prototype,t.prototype)}),e;function n(t,e){var n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertyDescriptors(e),o=Object.getOwnPropertyNames(function(){}).concat(["constructor"]),c=t;return n.forEach(function(t){o.includes(t)||Object.defineProperty(c,t,__assign(__assign({},r[t]),{enumerable:0}))}),c}} | ||
typeof window!='undefined'&&(window.mixmix=mixmix);typeof exports!='undefined'&&(module.exports=exports.default=mixmix,exports.__esModule={value:!0});typeof define=='function'&&define(()=>{return mixmix});var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var c in t=arguments[n])Object.prototype.hasOwnProperty.call(t,c)&&(e[c]=t[c]);return e}).apply(this,arguments)};function mixmix(){for(var a=[],e=0;e<arguments.length;e++)a[e]=arguments[e];function t(e){var t,i=this,s=a.map(function(e){return Object.getOwnPropertyDescriptors(e).name.value});(0===(t=Object.keys(Object(e))).length?s:t).forEach(function(t){var e,n,r,c,o;s.includes(t)&&(e=Object.getOwnPropertyDescriptors(new(a.filter(function(e){return e.name===t})[0])),n=Object.keys(e),r=Object.values(e),o={},n.forEach(function(e,t){o[e]=__assign(__assign({},r[t]),{enumerable:0}))}),o}} |
{ | ||
"name": "mixmix", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "mixin and mingles, for multiple classes", | ||
@@ -5,0 +5,0 @@ "main": "dist/mixmix.js", |
14604
161