Comparing version 0.1.2 to 0.1.3
@@ -1,1 +0,1 @@ | ||
window.Amanatsu=function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="/",n(n.s=41)}([function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n,e){t.exports=!e(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(3),o=e(0),i=e(21),u=e(25),c=function(t,n,e){var s,f,a,p=t&c.F,l=t&c.G,d=t&c.S,h=t&c.P,v=t&c.B,y=t&c.W,_=l?o:o[n]||(o[n]={}),b=_.prototype,g=l?r:d?r[n]:(r[n]||{}).prototype;l&&(e=n);for(s in e)(f=!p&&g&&void 0!==g[s])&&s in _||(a=f?g[s]:e[s],_[s]=l&&"function"!=typeof g[s]?e[s]:v&&f?i(a,r):y&&g[s]==a?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(a):h&&"function"==typeof a?i(Function.call,a):a,h&&((_.virtual||(_.virtual={}))[s]=a,t&c.R&&b&&!b[s]&&u(b,s,a)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n,e){var r=e(18),o=e(26),i=e(37),u=Object.defineProperty;n.f=e(1)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(27),o=e(5);t.exports=function(t){return r(o(t))}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var o=e(11),i=r(o),u=e(12),c=r(u),s=e(13),f=r(s),a=function(){function t(n){(0,c.default)(this,t),this.defaultOptions={joshi:/(でなければ|について|かしら|くらい|けれど|なのか|ばかり|ながら|ことよ|こそ|こと|さえ|しか|した|たり|だけ|だに|だの|つつ|ても|てよ|でも|とも|から|など|なり|ので|のに|ほど|まで|もの|やら|より|って|で|と|な|に|ね|の|も|は|ば|へ|や|わ|を|か|が|さ|し|ぞ|て)/g,keywords:/( |[a-zA-Z0-9]+\.[a-z]{2,}|[一-龠々〆ヵヶゝ]+|[ぁ-んゝ]+|[ァ-ヴー]+|[a-zA-Z0-9]+|[a-zA-Z0-9]+)/g,periods:/([.,。、!!??]+)$/g,bracketsBegin:/([((「『【《])/g,bracketsEnd:/([))」』】》])/g,style:"display:inline-block",role:"presentation",className:""},this.setOptions(n)}return(0,f.default)(t,[{key:"setOptions",value:function(t){var n=this;t?(this._options={},(0,i.default)(this.defaultOptions).forEach(function(e){n._options[e]=void 0===t[e]?n.defaultOptions[e]:t[e]})):this._options=this.defaultOptions,this._attr="",this._options.style&&(this._attr+=' style="'+this._options.style+'"'),this._options.role&&(this._attr+=' role="'+this._options.role+'"'),this._options.className&&(this._attr+=' class="'+this._options.className+'"')}},{key:"apply",value:function(t){return"string"==typeof t?this._applyAsString(t):t instanceof Node?this._applyAsNode(t):t}},{key:"split",value:function(t){return this._stringToWords(t)}},{key:"_applyAsString",value:function(t){var n=this._stringToWords(t);return this._wordsToHtml(n)}},{key:"_applyAsNode",value:function(t){var n=this;Array.prototype.slice.call(t.childNodes).forEach(function(e){if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.trim();if(0===r.length)return;var o=document.createElement("div");for(o.innerHTML=n._applyAsString(r);o.firstChild;)t.insertBefore(o.firstChild,e);t.removeChild(e)}else e.nodeType===Node.ELEMENT_NODE&&e.childNodes.length>0&&n._applyAsNode(e)})}},{key:"_wordsToHtml",value:function(t){var n=this;return t.map(function(t){return"<span"+n._attr+">"+t+"</span>"}).join("")}},{key:"_stringToWords",value:function(t){var n=this,e=t.trim().split(this._options.keywords);if(e.length<2)return e;var r=e.reduce(function(t,e){return[].concat(t,e.split(n._options.joshi))}).reduce(function(t,e){return[].concat(t,e.split(n._options.bracketsBegin))}).reduce(function(t,e){return[].concat(t,e.split(n._options.bracketsEnd))}).filter(function(t){return t}),o=[],i="",u="";return r.forEach(function(t){var e=t.match(n._options.periods)||t.match(n._options.joshi);return t.match(n._options.bracketsBegin)?(i="bracketBegin",void(u=t)):t.match(n._options.bracketsEnd)?(o[o.length-1]+=t,i="bracketEnd",void(u=t)):("bracketBegin"===i&&(t=u+t,u="",i=""),o.length>0&&e&&""===i?(o[o.length-1]+=t,i="keyword",void(u=t)):o.length>0&&(e||"keyword"===i&&t.match(/[ぁ-んゝ]+/g))?(o[o.length-1]+=t,i="",void(u=t)):(o.push(t),i="keyword",void(u=t)))}),o}}]),t}();t.exports=a},function(t,n,e){t.exports={default:e(16),__esModule:!0}},function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";n.__esModule=!0;var r=e(14),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n,e){t.exports={default:e(15),__esModule:!0}},function(t,n,e){e(39);var r=e(0).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n,e){e(40),t.exports=e(0).Object.keys},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){var r=e(9),o=e(35),i=e(34);t.exports=function(t){return function(n,e,u){var c,s=r(n),f=o(s.length),a=i(u,f);if(t&&e!=e){for(;f>a;)if((c=s[a++])!=c)return!0}else for(;f>a;a++)if((t||a in s)&&s[a]===e)return t||a||0;return!t&&-1}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(17);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(4),o=e(3).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(7),o=e(31);t.exports=e(1)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){t.exports=!e(1)&&!e(2)(function(){return 7!=Object.defineProperty(e(22)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(20);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(24),o=e(9),i=e(19)(!1),u=e(32)("IE_PROTO");t.exports=function(t,n){var e,c=o(t),s=0,f=[];for(e in c)e!=u&&r(c,e)&&f.push(e);for(;n.length>s;)r(c,e=n[s++])&&(~i(f,e)||f.push(e));return f}},function(t,n,e){var r=e(28),o=e(23);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(6),o=e(0),i=e(2);t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*i(function(){e(1)}),"Object",u)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(33)("keys"),o=e(38);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(3),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,e){var r=e(8),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(8),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(5);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(4);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){var r=e(6);r(r.S+r.F*!e(1),"Object",{defineProperty:e(7).f})},function(t,n,e){var r=e(36),o=e(29);e(30)("keys",function(){return function(t){return o(r(t))}})},function(t,n,e){"use strict";var r=e(10),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i=new o.default;window.addEventListener("load",function(){i.apply(document.body)},!1)}]); | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.Amanatsu=n():t.Amanatsu=n()}(this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="/",n(n.s=41)}([function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n,e){t.exports=!e(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(3),o=e(0),i=e(21),u=e(25),c=function(t,n,e){var s,f,a,p=t&c.F,l=t&c.G,d=t&c.S,h=t&c.P,v=t&c.B,y=t&c.W,_=l?o:o[n]||(o[n]={}),b=_.prototype,x=l?r:d?r[n]:(r[n]||{}).prototype;l&&(e=n);for(s in e)(f=!p&&x&&void 0!==x[s])&&s in _||(a=f?x[s]:e[s],_[s]=l&&"function"!=typeof x[s]?e[s]:v&&f?i(a,r):y&&x[s]==a?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(a):h&&"function"==typeof a?i(Function.call,a):a,h&&((_.virtual||(_.virtual={}))[s]=a,t&c.R&&b&&!b[s]&&u(b,s,a)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n,e){var r=e(18),o=e(26),i=e(37),u=Object.defineProperty;n.f=e(1)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(27),o=e(5);t.exports=function(t){return r(o(t))}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var o=e(11),i=r(o),u=e(12),c=r(u),s=e(13),f=r(s),a=function(){function t(n){(0,c.default)(this,t),this.defaultOptions={joshi:/(でなければ|について|かしら|くらい|けれど|なのか|ばかり|ながら|ことよ|こそ|こと|さえ|しか|した|たり|だけ|だに|だの|つつ|ても|てよ|でも|とも|から|など|なり|ので|のに|ほど|まで|もの|やら|より|って|で|と|な|に|ね|の|も|は|ば|へ|や|わ|を|か|が|さ|し|ぞ|て)/g,keywords:/( |[a-zA-Z0-9]+\.[a-z]{2,}|[一-龠々〆ヵヶゝ]+|[ぁ-んゝ]+|[ァ-ヴー]+|[a-zA-Z0-9]+|[a-zA-Z0-9]+)/g,periods:/([.,。、!!??]+)$/g,bracketsBegin:/([((「『【《])/g,bracketsEnd:/([))」』】》])/g,style:"display:inline-block",role:"presentation",className:""},this.setOptions(n)}return(0,f.default)(t,[{key:"setOptions",value:function(t){var n=this;t?(this._options={},(0,i.default)(this.defaultOptions).forEach(function(e){n._options[e]=void 0===t[e]?n.defaultOptions[e]:t[e]})):this._options=this.defaultOptions,this._attr="",this._options.style&&(this._attr+=' style="'+this._options.style+'"'),this._options.role&&(this._attr+=' role="'+this._options.role+'"'),this._options.className&&(this._attr+=' class="'+this._options.className+'"')}},{key:"apply",value:function(t){return"string"==typeof t?this._applyAsString(t):t instanceof Node?this._applyAsNode(t):t}},{key:"split",value:function(t){return this._stringToWords(t)}},{key:"_applyAsString",value:function(t){var n=this._stringToWords(t);return this._wordsToHtml(n)}},{key:"_applyAsNode",value:function(t){var n=this;Array.prototype.slice.call(t.childNodes).forEach(function(e){if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.trim();if(0===r.length)return;var o=document.createElement("div");for(o.innerHTML=n._applyAsString(r);o.firstChild;)t.insertBefore(o.firstChild,e);t.removeChild(e)}else e.nodeType===Node.ELEMENT_NODE&&e.childNodes.length>0&&n._applyAsNode(e)})}},{key:"_wordsToHtml",value:function(t){var n=this;return t.map(function(t){return"<span"+n._attr+">"+t+"</span>"}).join("")}},{key:"_stringToWords",value:function(t){var n=this,e=t.trim().split(this._options.keywords);if(e.length<2)return e;var r=e.reduce(function(t,e){return[].concat(t,e.split(n._options.joshi))}).reduce(function(t,e){return[].concat(t,e.split(n._options.bracketsBegin))}).reduce(function(t,e){return[].concat(t,e.split(n._options.bracketsEnd))}).filter(function(t){return t}),o=[],i="",u="";return r.forEach(function(t){var e=t.match(n._options.periods)||t.match(n._options.joshi);return t.match(n._options.bracketsBegin)?(i="bracketBegin",void(u=t)):t.match(n._options.bracketsEnd)?(o[o.length-1]+=t,i="bracketEnd",void(u=t)):("bracketBegin"===i&&(t=u+t,u="",i=""),o.length>0&&e&&""===i?(o[o.length-1]+=t,i="keyword",void(u=t)):o.length>0&&(e||"keyword"===i&&t.match(/[ぁ-んゝ]+/g))?(o[o.length-1]+=t,i="",void(u=t)):(o.push(t),i="keyword",void(u=t)))}),o}}]),t}();t.exports=a},function(t,n,e){t.exports={default:e(16),__esModule:!0}},function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";n.__esModule=!0;var r=e(14),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n,e){t.exports={default:e(15),__esModule:!0}},function(t,n,e){e(39);var r=e(0).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n,e){e(40),t.exports=e(0).Object.keys},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){var r=e(9),o=e(35),i=e(34);t.exports=function(t){return function(n,e,u){var c,s=r(n),f=o(s.length),a=i(u,f);if(t&&e!=e){for(;f>a;)if((c=s[a++])!=c)return!0}else for(;f>a;a++)if((t||a in s)&&s[a]===e)return t||a||0;return!t&&-1}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(17);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(4),o=e(3).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(7),o=e(31);t.exports=e(1)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){t.exports=!e(1)&&!e(2)(function(){return 7!=Object.defineProperty(e(22)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(20);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(24),o=e(9),i=e(19)(!1),u=e(32)("IE_PROTO");t.exports=function(t,n){var e,c=o(t),s=0,f=[];for(e in c)e!=u&&r(c,e)&&f.push(e);for(;n.length>s;)r(c,e=n[s++])&&(~i(f,e)||f.push(e));return f}},function(t,n,e){var r=e(28),o=e(23);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(6),o=e(0),i=e(2);t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*i(function(){e(1)}),"Object",u)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(33)("keys"),o=e(38);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(3),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,e){var r=e(8),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(8),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(5);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(4);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){var r=e(6);r(r.S+r.F*!e(1),"Object",{defineProperty:e(7).f})},function(t,n,e){var r=e(36),o=e(29);e(30)("keys",function(){return function(t){return o(r(t))}})},function(t,n,e){"use strict";var r=e(10),o=function(t){return t&&t.__esModule?t:{default:t}}(r),i=new o.default;window.addEventListener("load",function(){i.apply(document.body)},!1)}])}); |
@@ -1,1 +0,1 @@ | ||
window.Amanatsu=function(t){function n(e){if(r[e])return r[e].exports;var o=r[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r={};return n.m=t,n.c=r,n.i=function(t){return t},n.d=function(t,r,e){n.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,"a",r),r},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="/",n(n.s=10)}([function(t,n){var r=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=r)},function(t,n,r){t.exports=!r(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){var e=r(3),o=r(0),i=r(21),u=r(25),c=function(t,n,r){var s,f,a,p=t&c.F,l=t&c.G,d=t&c.S,h=t&c.P,v=t&c.B,y=t&c.W,_=l?o:o[n]||(o[n]={}),g=_.prototype,b=l?e:d?e[n]:(e[n]||{}).prototype;l&&(r=n);for(s in r)(f=!p&&b&&void 0!==b[s])&&s in _||(a=f?b[s]:r[s],_[s]=l&&"function"!=typeof b[s]?r[s]:v&&f?i(a,e):y&&b[s]==a?function(t){var n=function(n,r,e){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,e)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(a):h&&"function"==typeof a?i(Function.call,a):a,h&&((_.virtual||(_.virtual={}))[s]=a,t&c.R&&g&&!g[s]&&u(g,s,a)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n,r){var e=r(18),o=r(26),i=r(37),u=Object.defineProperty;n.f=r(1)?Object.defineProperty:function(t,n,r){if(e(t),n=i(n,!0),e(r),o)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(27),o=r(5);t.exports=function(t){return e(o(t))}},function(t,n,r){"use strict";function e(t){return t&&t.__esModule?t:{default:t}}var o=r(11),i=e(o),u=r(12),c=e(u),s=r(13),f=e(s),a=function(){function t(n){(0,c.default)(this,t),this.defaultOptions={joshi:/(でなければ|について|かしら|くらい|けれど|なのか|ばかり|ながら|ことよ|こそ|こと|さえ|しか|した|たり|だけ|だに|だの|つつ|ても|てよ|でも|とも|から|など|なり|ので|のに|ほど|まで|もの|やら|より|って|で|と|な|に|ね|の|も|は|ば|へ|や|わ|を|か|が|さ|し|ぞ|て)/g,keywords:/( |[a-zA-Z0-9]+\.[a-z]{2,}|[一-龠々〆ヵヶゝ]+|[ぁ-んゝ]+|[ァ-ヴー]+|[a-zA-Z0-9]+|[a-zA-Z0-9]+)/g,periods:/([.,。、!!??]+)$/g,bracketsBegin:/([((「『【《])/g,bracketsEnd:/([))」』】》])/g,style:"display:inline-block",role:"presentation",className:""},this.setOptions(n)}return(0,f.default)(t,[{key:"setOptions",value:function(t){var n=this;t?(this._options={},(0,i.default)(this.defaultOptions).forEach(function(r){n._options[r]=void 0===t[r]?n.defaultOptions[r]:t[r]})):this._options=this.defaultOptions,this._attr="",this._options.style&&(this._attr+=' style="'+this._options.style+'"'),this._options.role&&(this._attr+=' role="'+this._options.role+'"'),this._options.className&&(this._attr+=' class="'+this._options.className+'"')}},{key:"apply",value:function(t){return"string"==typeof t?this._applyAsString(t):t instanceof Node?this._applyAsNode(t):t}},{key:"split",value:function(t){return this._stringToWords(t)}},{key:"_applyAsString",value:function(t){var n=this._stringToWords(t);return this._wordsToHtml(n)}},{key:"_applyAsNode",value:function(t){var n=this;Array.prototype.slice.call(t.childNodes).forEach(function(r){if(r.nodeType===Node.TEXT_NODE){var e=r.textContent.trim();if(0===e.length)return;var o=document.createElement("div");for(o.innerHTML=n._applyAsString(e);o.firstChild;)t.insertBefore(o.firstChild,r);t.removeChild(r)}else r.nodeType===Node.ELEMENT_NODE&&r.childNodes.length>0&&n._applyAsNode(r)})}},{key:"_wordsToHtml",value:function(t){var n=this;return t.map(function(t){return"<span"+n._attr+">"+t+"</span>"}).join("")}},{key:"_stringToWords",value:function(t){var n=this,r=t.trim().split(this._options.keywords);if(r.length<2)return r;var e=r.reduce(function(t,r){return[].concat(t,r.split(n._options.joshi))}).reduce(function(t,r){return[].concat(t,r.split(n._options.bracketsBegin))}).reduce(function(t,r){return[].concat(t,r.split(n._options.bracketsEnd))}).filter(function(t){return t}),o=[],i="",u="";return e.forEach(function(t){var r=t.match(n._options.periods)||t.match(n._options.joshi);return t.match(n._options.bracketsBegin)?(i="bracketBegin",void(u=t)):t.match(n._options.bracketsEnd)?(o[o.length-1]+=t,i="bracketEnd",void(u=t)):("bracketBegin"===i&&(t=u+t,u="",i=""),o.length>0&&r&&""===i?(o[o.length-1]+=t,i="keyword",void(u=t)):o.length>0&&(r||"keyword"===i&&t.match(/[ぁ-んゝ]+/g))?(o[o.length-1]+=t,i="",void(u=t)):(o.push(t),i="keyword",void(u=t)))}),o}}]),t}();t.exports=a},function(t,n,r){t.exports={default:r(16),__esModule:!0}},function(t,n,r){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,r){"use strict";n.__esModule=!0;var e=r(14),o=function(t){return t&&t.__esModule?t:{default:t}}(e);n.default=function(){function t(t,n){for(var r=0;r<n.length;r++){var e=n[r];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),(0,o.default)(t,e.key,e)}}return function(n,r,e){return r&&t(n.prototype,r),e&&t(n,e),n}}()},function(t,n,r){t.exports={default:r(15),__esModule:!0}},function(t,n,r){r(39);var e=r(0).Object;t.exports=function(t,n,r){return e.defineProperty(t,n,r)}},function(t,n,r){r(40),t.exports=r(0).Object.keys},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,r){var e=r(4);t.exports=function(t){if(!e(t))throw TypeError(t+" is not an object!");return t}},function(t,n,r){var e=r(9),o=r(35),i=r(34);t.exports=function(t){return function(n,r,u){var c,s=e(n),f=o(s.length),a=i(u,f);if(t&&r!=r){for(;f>a;)if((c=s[a++])!=c)return!0}else for(;f>a;a++)if((t||a in s)&&s[a]===r)return t||a||0;return!t&&-1}}},function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n,r){var e=r(17);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,o){return t.call(n,r,e,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,r){var e=r(4),o=r(3).document,i=e(o)&&e(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(7),o=r(31);t.exports=r(1)?function(t,n,r){return e.f(t,n,o(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){t.exports=!r(1)&&!r(2)(function(){return 7!=Object.defineProperty(r(22)("div"),"a",{get:function(){return 7}}).a})},function(t,n,r){var e=r(20);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n,r){var e=r(24),o=r(9),i=r(19)(!1),u=r(32)("IE_PROTO");t.exports=function(t,n){var r,c=o(t),s=0,f=[];for(r in c)r!=u&&e(c,r)&&f.push(r);for(;n.length>s;)e(c,r=n[s++])&&(~i(f,r)||f.push(r));return f}},function(t,n,r){var e=r(28),o=r(23);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(6),o=r(0),i=r(2);t.exports=function(t,n){var r=(o.Object||{})[t]||Object[t],u={};u[t]=n(r),e(e.S+e.F*i(function(){r(1)}),"Object",u)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e=r(33)("keys"),o=r(38);t.exports=function(t){return e[t]||(e[t]=o(t))}},function(t,n,r){var e=r(3),o=e["__core-js_shared__"]||(e["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,r){var e=r(8),o=Math.max,i=Math.min;t.exports=function(t,n){return t=e(t),t<0?o(t+n,0):i(t,n)}},function(t,n,r){var e=r(8),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n,r){var e=r(5);t.exports=function(t){return Object(e(t))}},function(t,n,r){var e=r(4);t.exports=function(t,n){if(!e(t))return t;var r,o;if(n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!e(o=r.call(t)))return o;if(!n&&"function"==typeof(r=t.toString)&&!e(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){var r=0,e=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++r+e).toString(36))}},function(t,n,r){var e=r(6);e(e.S+e.F*!r(1),"Object",{defineProperty:r(7).f})},function(t,n,r){var e=r(36),o=r(29);r(30)("keys",function(){return function(t){return o(e(t))}})}]); | ||
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.Amanatsu=n():t.Amanatsu=n()}(this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="/",n(n.s=10)}([function(t,n){var e=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=e)},function(t,n,e){t.exports=!e(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(3),o=e(0),i=e(21),u=e(25),c=function(t,n,e){var s,f,a,p=t&c.F,l=t&c.G,d=t&c.S,h=t&c.P,v=t&c.B,y=t&c.W,_=l?o:o[n]||(o[n]={}),b=_.prototype,x=l?r:d?r[n]:(r[n]||{}).prototype;l&&(e=n);for(s in e)(f=!p&&x&&void 0!==x[s])&&s in _||(a=f?x[s]:e[s],_[s]=l&&"function"!=typeof x[s]?e[s]:v&&f?i(a,r):y&&x[s]==a?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(a):h&&"function"==typeof a?i(Function.call,a):a,h&&((_.virtual||(_.virtual={}))[s]=a,t&c.R&&b&&!b[s]&&u(b,s,a)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,n,e){var r=e(18),o=e(26),i=e(37),u=Object.defineProperty;n.f=e(1)?Object.defineProperty:function(t,n,e){if(r(t),n=i(n,!0),r(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(27),o=e(5);t.exports=function(t){return r(o(t))}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}var o=e(11),i=r(o),u=e(12),c=r(u),s=e(13),f=r(s),a=function(){function t(n){(0,c.default)(this,t),this.defaultOptions={joshi:/(でなければ|について|かしら|くらい|けれど|なのか|ばかり|ながら|ことよ|こそ|こと|さえ|しか|した|たり|だけ|だに|だの|つつ|ても|てよ|でも|とも|から|など|なり|ので|のに|ほど|まで|もの|やら|より|って|で|と|な|に|ね|の|も|は|ば|へ|や|わ|を|か|が|さ|し|ぞ|て)/g,keywords:/( |[a-zA-Z0-9]+\.[a-z]{2,}|[一-龠々〆ヵヶゝ]+|[ぁ-んゝ]+|[ァ-ヴー]+|[a-zA-Z0-9]+|[a-zA-Z0-9]+)/g,periods:/([.,。、!!??]+)$/g,bracketsBegin:/([((「『【《])/g,bracketsEnd:/([))」』】》])/g,style:"display:inline-block",role:"presentation",className:""},this.setOptions(n)}return(0,f.default)(t,[{key:"setOptions",value:function(t){var n=this;t?(this._options={},(0,i.default)(this.defaultOptions).forEach(function(e){n._options[e]=void 0===t[e]?n.defaultOptions[e]:t[e]})):this._options=this.defaultOptions,this._attr="",this._options.style&&(this._attr+=' style="'+this._options.style+'"'),this._options.role&&(this._attr+=' role="'+this._options.role+'"'),this._options.className&&(this._attr+=' class="'+this._options.className+'"')}},{key:"apply",value:function(t){return"string"==typeof t?this._applyAsString(t):t instanceof Node?this._applyAsNode(t):t}},{key:"split",value:function(t){return this._stringToWords(t)}},{key:"_applyAsString",value:function(t){var n=this._stringToWords(t);return this._wordsToHtml(n)}},{key:"_applyAsNode",value:function(t){var n=this;Array.prototype.slice.call(t.childNodes).forEach(function(e){if(e.nodeType===Node.TEXT_NODE){var r=e.textContent.trim();if(0===r.length)return;var o=document.createElement("div");for(o.innerHTML=n._applyAsString(r);o.firstChild;)t.insertBefore(o.firstChild,e);t.removeChild(e)}else e.nodeType===Node.ELEMENT_NODE&&e.childNodes.length>0&&n._applyAsNode(e)})}},{key:"_wordsToHtml",value:function(t){var n=this;return t.map(function(t){return"<span"+n._attr+">"+t+"</span>"}).join("")}},{key:"_stringToWords",value:function(t){var n=this,e=t.trim().split(this._options.keywords);if(e.length<2)return e;var r=e.reduce(function(t,e){return[].concat(t,e.split(n._options.joshi))}).reduce(function(t,e){return[].concat(t,e.split(n._options.bracketsBegin))}).reduce(function(t,e){return[].concat(t,e.split(n._options.bracketsEnd))}).filter(function(t){return t}),o=[],i="",u="";return r.forEach(function(t){var e=t.match(n._options.periods)||t.match(n._options.joshi);return t.match(n._options.bracketsBegin)?(i="bracketBegin",void(u=t)):t.match(n._options.bracketsEnd)?(o[o.length-1]+=t,i="bracketEnd",void(u=t)):("bracketBegin"===i&&(t=u+t,u="",i=""),o.length>0&&e&&""===i?(o[o.length-1]+=t,i="keyword",void(u=t)):o.length>0&&(e||"keyword"===i&&t.match(/[ぁ-んゝ]+/g))?(o[o.length-1]+=t,i="",void(u=t)):(o.push(t),i="keyword",void(u=t)))}),o}}]),t}();t.exports=a},function(t,n,e){t.exports={default:e(16),__esModule:!0}},function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";n.__esModule=!0;var r=e(14),o=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n,e){t.exports={default:e(15),__esModule:!0}},function(t,n,e){e(39);var r=e(0).Object;t.exports=function(t,n,e){return r.defineProperty(t,n,e)}},function(t,n,e){e(40),t.exports=e(0).Object.keys},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){var r=e(9),o=e(35),i=e(34);t.exports=function(t){return function(n,e,u){var c,s=r(n),f=o(s.length),a=i(u,f);if(t&&e!=e){for(;f>a;)if((c=s[a++])!=c)return!0}else for(;f>a;a++)if((t||a in s)&&s[a]===e)return t||a||0;return!t&&-1}}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(17);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(4),o=e(3).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(7),o=e(31);t.exports=e(1)?function(t,n,e){return r.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){t.exports=!e(1)&&!e(2)(function(){return 7!=Object.defineProperty(e(22)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(20);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(24),o=e(9),i=e(19)(!1),u=e(32)("IE_PROTO");t.exports=function(t,n){var e,c=o(t),s=0,f=[];for(e in c)e!=u&&r(c,e)&&f.push(e);for(;n.length>s;)r(c,e=n[s++])&&(~i(f,e)||f.push(e));return f}},function(t,n,e){var r=e(28),o=e(23);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(6),o=e(0),i=e(2);t.exports=function(t,n){var e=(o.Object||{})[t]||Object[t],u={};u[t]=n(e),r(r.S+r.F*i(function(){e(1)}),"Object",u)}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(33)("keys"),o=e(38);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var r=e(3),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return o[t]||(o[t]={})}},function(t,n,e){var r=e(8),o=Math.max,i=Math.min;t.exports=function(t,n){return t=r(t),t<0?o(t+n,0):i(t,n)}},function(t,n,e){var r=e(8),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(5);t.exports=function(t){return Object(r(t))}},function(t,n,e){var r=e(4);t.exports=function(t,n){if(!r(t))return t;var e,o;if(n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if(!n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){var r=e(6);r(r.S+r.F*!e(1),"Object",{defineProperty:e(7).f})},function(t,n,e){var r=e(36),o=e(29);e(30)("keys",function(){return function(t){return o(r(t))}})}])}); |
{ | ||
"name": "amanatsu", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Japanese Line Break Organizer", | ||
@@ -5,0 +5,0 @@ "main": "dist/amanatsu.js", |
@@ -19,3 +19,3 @@ const path = require('path') | ||
library: 'Amanatsu', | ||
libraryTarget: 'window' | ||
libraryTarget: 'umd' | ||
}, | ||
@@ -22,0 +22,0 @@ module: { |
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
210902