skatejs-named-slots
Advanced tools
Comparing version 0.0.0 to 0.0.1
@@ -231,3 +231,3 @@ (function (global, factory) { | ||
var version = '0.0.0'; | ||
var version = '0.0.1'; | ||
@@ -234,0 +234,0 @@ var main = { |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.skatejs-named-slots=e()}(this,function(){function t(t){return s.get(t)}function e(t,e){return e.getAttribute&&e.getAttribute("slot")||u.get(t)}function n(t){return t instanceof DocumentFragment?[].slice.call(t.childNodes):[t]}function i(e){if(!t(e)){for(var n in a)l(e,n,a[n]);for(var n in h)e[n]=h[n];s.set(e,!0)}}function r(t){return function(e){s.get(e)?t(e):(t(e),i(e))}}function o(t){return t||(t={"default":!1,set:null}),{coerce:function(t){return Array.isArray(t)?t:[t]},created:function(e,n){var i=c.get(e);i||c.set(e,i=[]),i.push(n.name),t["default"]&&u.set(e,n.name)},"default":function(){return[]},initial:function(e,n){return[].slice.call(e.childNodes).filter(function(e){if(e.getAttribute){var i=e.getAttribute("slot")||t["default"]&&n.name;return i===n.name}})},set:t.set}}var s=new WeakMap,c=new WeakMap,u=new WeakMap,l=Object.defineProperty.bind(Object),a={childElementCount:{get:function(){return this.children.length}},childNodes:{get:function(){var t=this;return(c.get(this)||[]).reduce(function(e,n){return e.concat(t[n])},[])}},children:{get:function(){return this.childNodes.filter(function(t){return 1===t.nodeType})}},firstChild:{get:function(){return this.childNodes[0]}},firstElementChild:{get:function(){return this.children[0]}},innerHTML:{get:function(){return this.childNodes.map(function(t){return t.outerHTML||t.textContent}).join("")},set:function(t){var e=document.createElement("div");for(e.innerHTML=t;e.hasChildNodes();)this.appendChild(e.childNodes[0])}},lastChild:{get:function(){var t=this.childNodes;return t[t.length-1]}},lastElementChild:{get:function(){var t=this.children;return t[t.length-1]}},outerHTML:{get:function(){var t=this.tagName.toLowerCase(),e=[].slice.call(this.attributes).map(function(t){return" "+t.name+(t.value?"="+t.value:"")});return"<"+t+e+">"+this.innerHTML+"</"+t+">"}},textContent:{get:function(){return this.childNodes.map(function(t){return t.textContent}).join("")},set:function(t){var e=u.get(this);e&&(this[e]=document.createTextNode(t))}}},h={appendChild:function(t){var i=e(this,t);if(i||this[i])return this[i]=this[i].concat(n(t)),t},hasChildNodes:function(){return this.childNodes.length>0},insertBefore:function(t,i){var r=e(this,t);if(r&&this[r]){var o=this[r].indexOf(i);return this[r]=this[r].slice(0,o).concat(n(t)).concat(this[r].slice(o)),t}},removeChild:function(t){var n=e(this,t);if(n||this[n]){var i=this[n].indexOf(t);return this[n]=this[n].slice(0,i).concat(this[n].slice(i+1)),t}},replaceChild:function(t,i){var r=e(this,t);if(r&&this[r]){var o=this[r].indexOf(i);return this[r]=this[r].slice(0,o).concat(n(t)).concat(this[r].slice(o+1)),i}}},d="0.0.0",f={polyfill:i,polyfilled:t,render:r,slot:o,version:d},g=window.skatejsNamedSlots;return f.noConflict=function(){return window.skatejsNamedSlots=g,this},window.skatejsNamedSlots=f,f}); | ||
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.skatejs-named-slots=e()}(this,function(){function t(t){return s.get(t)}function e(t,e){return e.getAttribute&&e.getAttribute("slot")||u.get(t)}function n(t){return t instanceof DocumentFragment?[].slice.call(t.childNodes):[t]}function i(e){if(!t(e)){for(var n in a)l(e,n,a[n]);for(var n in h)e[n]=h[n];s.set(e,!0)}}function r(t){return function(e){s.get(e)?t(e):(t(e),i(e))}}function o(t){return t||(t={"default":!1,set:null}),{coerce:function(t){return Array.isArray(t)?t:[t]},created:function(e,n){var i=c.get(e);i||c.set(e,i=[]),i.push(n.name),t["default"]&&u.set(e,n.name)},"default":function(){return[]},initial:function(e,n){return[].slice.call(e.childNodes).filter(function(e){if(e.getAttribute){var i=e.getAttribute("slot")||t["default"]&&n.name;return i===n.name}})},set:t.set}}var s=new WeakMap,c=new WeakMap,u=new WeakMap,l=Object.defineProperty.bind(Object),a={childElementCount:{get:function(){return this.children.length}},childNodes:{get:function(){var t=this;return(c.get(this)||[]).reduce(function(e,n){return e.concat(t[n])},[])}},children:{get:function(){return this.childNodes.filter(function(t){return 1===t.nodeType})}},firstChild:{get:function(){return this.childNodes[0]}},firstElementChild:{get:function(){return this.children[0]}},innerHTML:{get:function(){return this.childNodes.map(function(t){return t.outerHTML||t.textContent}).join("")},set:function(t){var e=document.createElement("div");for(e.innerHTML=t;e.hasChildNodes();)this.appendChild(e.childNodes[0])}},lastChild:{get:function(){var t=this.childNodes;return t[t.length-1]}},lastElementChild:{get:function(){var t=this.children;return t[t.length-1]}},outerHTML:{get:function(){var t=this.tagName.toLowerCase(),e=[].slice.call(this.attributes).map(function(t){return" "+t.name+(t.value?"="+t.value:"")});return"<"+t+e+">"+this.innerHTML+"</"+t+">"}},textContent:{get:function(){return this.childNodes.map(function(t){return t.textContent}).join("")},set:function(t){var e=u.get(this);e&&(this[e]=document.createTextNode(t))}}},h={appendChild:function(t){var i=e(this,t);if(i||this[i])return this[i]=this[i].concat(n(t)),t},hasChildNodes:function(){return this.childNodes.length>0},insertBefore:function(t,i){var r=e(this,t);if(r&&this[r]){var o=this[r].indexOf(i);return this[r]=this[r].slice(0,o).concat(n(t)).concat(this[r].slice(o)),t}},removeChild:function(t){var n=e(this,t);if(n||this[n]){var i=this[n].indexOf(t);return this[n]=this[n].slice(0,i).concat(this[n].slice(i+1)),t}},replaceChild:function(t,i){var r=e(this,t);if(r&&this[r]){var o=this[r].indexOf(i);return this[r]=this[r].slice(0,o).concat(n(t)).concat(this[r].slice(o+1)),i}}},d="0.0.1",f={polyfill:i,polyfilled:t,render:r,slot:o,version:d},g=window.skatejsNamedSlots;return f.noConflict=function(){return window.skatejsNamedSlots=g,this},window.skatejsNamedSlots=f,f}); | ||
//# sourceMappingURL=index.min.js.map |
(function (global, factory) { | ||
if (typeof define === "function" && define.amd) { | ||
define(['exports', './polyfill', './polyfilled', './render', './slot', './version'], factory); | ||
define(['module', 'exports', './polyfill', './polyfilled', './render', './slot', './version'], factory); | ||
} else if (typeof exports !== "undefined") { | ||
factory(exports, require('./polyfill'), require('./polyfilled'), require('./render'), require('./slot'), require('./version')); | ||
factory(module, exports, require('./polyfill'), require('./polyfilled'), require('./render'), require('./slot'), require('./version')); | ||
} else { | ||
@@ -10,6 +10,6 @@ var mod = { | ||
}; | ||
factory(mod.exports, global.polyfill, global.polyfilled, global.render, global.slot, global.version); | ||
factory(mod, mod.exports, global.polyfill, global.polyfilled, global.render, global.slot, global.version); | ||
global.index = mod.exports; | ||
} | ||
})(this, function (exports, _polyfill, _polyfilled, _render, _slot, _version) { | ||
})(this, function (module, exports, _polyfill, _polyfilled, _render, _slot, _version) { | ||
'use strict'; | ||
@@ -44,2 +44,3 @@ | ||
}; | ||
module.exports = exports['default']; | ||
}); |
(function (global, factory) { | ||
if (typeof define === "function" && define.amd) { | ||
define(["exports"], factory); | ||
define(["module", "exports"], factory); | ||
} else if (typeof exports !== "undefined") { | ||
factory(exports); | ||
factory(module, exports); | ||
} else { | ||
@@ -10,6 +10,6 @@ var mod = { | ||
}; | ||
factory(mod.exports); | ||
factory(mod, mod.exports); | ||
global.patch = mod.exports; | ||
} | ||
})(this, function (exports) { | ||
})(this, function (module, exports) { | ||
"use strict"; | ||
@@ -21,2 +21,3 @@ | ||
exports.default = new WeakMap(); | ||
module.exports = exports['default']; | ||
}); |
(function (global, factory) { | ||
if (typeof define === "function" && define.amd) { | ||
define(["exports"], factory); | ||
define(["module", "exports"], factory); | ||
} else if (typeof exports !== "undefined") { | ||
factory(exports); | ||
factory(module, exports); | ||
} else { | ||
@@ -10,6 +10,6 @@ var mod = { | ||
}; | ||
factory(mod.exports); | ||
factory(mod, mod.exports); | ||
global.slotsDefault = mod.exports; | ||
} | ||
})(this, function (exports) { | ||
})(this, function (module, exports) { | ||
"use strict"; | ||
@@ -21,2 +21,3 @@ | ||
exports.default = new WeakMap(); | ||
module.exports = exports['default']; | ||
}); |
(function (global, factory) { | ||
if (typeof define === "function" && define.amd) { | ||
define(["exports"], factory); | ||
define(["module", "exports"], factory); | ||
} else if (typeof exports !== "undefined") { | ||
factory(exports); | ||
factory(module, exports); | ||
} else { | ||
@@ -10,6 +10,6 @@ var mod = { | ||
}; | ||
factory(mod.exports); | ||
factory(mod, mod.exports); | ||
global.slots = mod.exports; | ||
} | ||
})(this, function (exports) { | ||
})(this, function (module, exports) { | ||
"use strict"; | ||
@@ -21,2 +21,3 @@ | ||
exports.default = new WeakMap(); | ||
module.exports = exports['default']; | ||
}); |
(function (global, factory) { | ||
if (typeof define === "function" && define.amd) { | ||
define(['exports', './internal/map/patch', './internal/map/slots', './internal/map/slots-default', './polyfilled'], factory); | ||
define(['module', 'exports', './internal/map/patch', './internal/map/slots', './internal/map/slots-default', './polyfilled'], factory); | ||
} else if (typeof exports !== "undefined") { | ||
factory(exports, require('./internal/map/patch'), require('./internal/map/slots'), require('./internal/map/slots-default'), require('./polyfilled')); | ||
factory(module, exports, require('./internal/map/patch'), require('./internal/map/slots'), require('./internal/map/slots-default'), require('./polyfilled')); | ||
} else { | ||
@@ -10,6 +10,6 @@ var mod = { | ||
}; | ||
factory(mod.exports, global.patch, global.slots, global.slotsDefault, global.polyfilled); | ||
factory(mod, mod.exports, global.patch, global.slots, global.slotsDefault, global.polyfilled); | ||
global.polyfill = mod.exports; | ||
} | ||
})(this, function (exports, _patch, _slots, _slotsDefault, _polyfilled) { | ||
})(this, function (module, exports, _patch, _slots, _slotsDefault, _polyfilled) { | ||
'use strict'; | ||
@@ -176,2 +176,3 @@ | ||
}; | ||
module.exports = exports['default']; | ||
}); |
(function (global, factory) { | ||
if (typeof define === "function" && define.amd) { | ||
define(['exports', './internal/map/patch'], factory); | ||
define(['module', 'exports', './internal/map/patch'], factory); | ||
} else if (typeof exports !== "undefined") { | ||
factory(exports, require('./internal/map/patch')); | ||
factory(module, exports, require('./internal/map/patch')); | ||
} else { | ||
@@ -10,6 +10,6 @@ var mod = { | ||
}; | ||
factory(mod.exports, global.patch); | ||
factory(mod, mod.exports, global.patch); | ||
global.polyfilled = mod.exports; | ||
} | ||
})(this, function (exports, _patch) { | ||
})(this, function (module, exports, _patch) { | ||
'use strict'; | ||
@@ -32,2 +32,4 @@ | ||
} | ||
module.exports = exports['default']; | ||
}); |
(function (global, factory) { | ||
if (typeof define === "function" && define.amd) { | ||
define(['exports', './polyfill', './internal/map/patch'], factory); | ||
define(['module', 'exports', './polyfill', './internal/map/patch'], factory); | ||
} else if (typeof exports !== "undefined") { | ||
factory(exports, require('./polyfill'), require('./internal/map/patch')); | ||
factory(module, exports, require('./polyfill'), require('./internal/map/patch')); | ||
} else { | ||
@@ -10,6 +10,6 @@ var mod = { | ||
}; | ||
factory(mod.exports, global.polyfill, global.patch); | ||
factory(mod, mod.exports, global.polyfill, global.patch); | ||
global.render = mod.exports; | ||
} | ||
})(this, function (exports, _polyfill, _patch) { | ||
})(this, function (module, exports, _polyfill, _patch) { | ||
'use strict'; | ||
@@ -41,2 +41,4 @@ | ||
} | ||
module.exports = exports['default']; | ||
}); |
(function (global, factory) { | ||
if (typeof define === "function" && define.amd) { | ||
define(['exports', './internal/map/slots', './internal/map/slots-default'], factory); | ||
define(['module', 'exports', './internal/map/slots', './internal/map/slots-default'], factory); | ||
} else if (typeof exports !== "undefined") { | ||
factory(exports, require('./internal/map/slots'), require('./internal/map/slots-default')); | ||
factory(module, exports, require('./internal/map/slots'), require('./internal/map/slots-default')); | ||
} else { | ||
@@ -10,6 +10,6 @@ var mod = { | ||
}; | ||
factory(mod.exports, global.slots, global.slotsDefault); | ||
factory(mod, mod.exports, global.slots, global.slotsDefault); | ||
global.slot = mod.exports; | ||
} | ||
})(this, function (exports, _slots, _slotsDefault) { | ||
})(this, function (module, exports, _slots, _slotsDefault) { | ||
'use strict'; | ||
@@ -79,2 +79,4 @@ | ||
} | ||
module.exports = exports['default']; | ||
}); |
(function (global, factory) { | ||
if (typeof define === "function" && define.amd) { | ||
define(['exports'], factory); | ||
define(['module', 'exports'], factory); | ||
} else if (typeof exports !== "undefined") { | ||
factory(exports); | ||
factory(module, exports); | ||
} else { | ||
@@ -10,6 +10,6 @@ var mod = { | ||
}; | ||
factory(mod.exports); | ||
factory(mod, mod.exports); | ||
global.version = mod.exports; | ||
} | ||
})(this, function (exports) { | ||
})(this, function (module, exports) { | ||
'use strict'; | ||
@@ -20,3 +20,4 @@ | ||
}); | ||
exports.default = '0.0.0'; | ||
exports.default = '0.0.1'; | ||
module.exports = exports['default']; | ||
}); |
{ | ||
"name": "skatejs-named-slots", | ||
"version": "0.0.0", | ||
"version": "0.0.1", | ||
"description": "A polygap (partial polyfill) for the Shadow DOM Named Slot API.", | ||
@@ -31,4 +31,4 @@ "main": "lib/index.js", | ||
"gulp": "gulpjs/gulp#73eced0", | ||
"skatejs-build": "skatejs/build#8a6221e" | ||
"skatejs-build": "skatejs/build#654f33e" | ||
} | ||
} |
@@ -1,1 +0,1 @@ | ||
export default '0.0.0'; | ||
export default '0.0.1'; |
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
61227
854