timeline-vuejs
Advanced tools
Comparing version 0.1.20 to 0.1.21
@@ -105,2 +105,35 @@ module.exports = | ||
/***/ "230e": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var isObject = __webpack_require__("d3f4"); | ||
var document = __webpack_require__("7726").document; | ||
// typeof document.createElement is 'object' in old IE | ||
var is = isObject(document) && isObject(document.createElement); | ||
module.exports = function (it) { | ||
return is ? document.createElement(it) : {}; | ||
}; | ||
/***/ }), | ||
/***/ "6a99": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// 7.1.1 ToPrimitive(input [, PreferredType]) | ||
var isObject = __webpack_require__("d3f4"); | ||
// instead of the ES6 spec version, we didn't implement @@toPrimitive case | ||
// and the second argument - flag - preferred type is a string | ||
module.exports = function (it, S) { | ||
if (!isObject(it)) return it; | ||
var fn, val; | ||
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | ||
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | ||
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | ||
throw TypeError("Can't convert object to primitive value"); | ||
}; | ||
/***/ }), | ||
/***/ "70d8": | ||
@@ -113,9 +146,118 @@ /***/ (function(module, exports, __webpack_require__) { | ||
/***/ "8bbf": | ||
/***/ "7726": | ||
/***/ (function(module, exports) { | ||
module.exports = require("vue"); | ||
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | ||
var global = module.exports = typeof window != 'undefined' && window.Math == Math | ||
? window : typeof self != 'undefined' && self.Math == Math ? self | ||
// eslint-disable-next-line no-new-func | ||
: Function('return this')(); | ||
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | ||
/***/ }), | ||
/***/ "79e5": | ||
/***/ (function(module, exports) { | ||
module.exports = function (exec) { | ||
try { | ||
return !!exec(); | ||
} catch (e) { | ||
return true; | ||
} | ||
}; | ||
/***/ }), | ||
/***/ "7f7f": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var dP = __webpack_require__("86cc").f; | ||
var FProto = Function.prototype; | ||
var nameRE = /^\s*function ([^ (]*)/; | ||
var NAME = 'name'; | ||
// 19.2.4.2 name | ||
NAME in FProto || __webpack_require__("9e1e") && dP(FProto, NAME, { | ||
configurable: true, | ||
get: function () { | ||
try { | ||
return ('' + this).match(nameRE)[1]; | ||
} catch (e) { | ||
return ''; | ||
} | ||
} | ||
}); | ||
/***/ }), | ||
/***/ "86cc": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var anObject = __webpack_require__("cb7c"); | ||
var IE8_DOM_DEFINE = __webpack_require__("c69a"); | ||
var toPrimitive = __webpack_require__("6a99"); | ||
var dP = Object.defineProperty; | ||
exports.f = __webpack_require__("9e1e") ? Object.defineProperty : function defineProperty(O, P, Attributes) { | ||
anObject(O); | ||
P = toPrimitive(P, true); | ||
anObject(Attributes); | ||
if (IE8_DOM_DEFINE) try { | ||
return dP(O, P, Attributes); | ||
} catch (e) { /* empty */ } | ||
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | ||
if ('value' in Attributes) O[P] = Attributes.value; | ||
return O; | ||
}; | ||
/***/ }), | ||
/***/ "9e1e": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// Thank's IE8 for his funny defineProperty | ||
module.exports = !__webpack_require__("79e5")(function () { | ||
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | ||
}); | ||
/***/ }), | ||
/***/ "c69a": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = !__webpack_require__("9e1e") && !__webpack_require__("79e5")(function () { | ||
return Object.defineProperty(__webpack_require__("230e")('div'), 'a', { get: function () { return 7; } }).a != 7; | ||
}); | ||
/***/ }), | ||
/***/ "cb7c": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var isObject = __webpack_require__("d3f4"); | ||
module.exports = function (it) { | ||
if (!isObject(it)) throw TypeError(it + ' is not an object!'); | ||
return it; | ||
}; | ||
/***/ }), | ||
/***/ "d3f4": | ||
/***/ (function(module, exports) { | ||
module.exports = function (it) { | ||
return typeof it === 'object' ? it !== null : typeof it === 'function'; | ||
}; | ||
/***/ }), | ||
/***/ "f2b0": | ||
@@ -141,5 +283,4 @@ /***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"} | ||
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf"); | ||
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_); | ||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.function.name.js | ||
var es6_function_name = __webpack_require__("7f7f"); | ||
@@ -330,3 +471,7 @@ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d50f023a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Timeline.vue?vue&type=template&id=07dc3835& | ||
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.component('Timeline', Timeline); | ||
if (typeof window !== 'undefined' && window.Vue) { | ||
window.Vue.component(Timeline.name, Timeline); | ||
} | ||
/* harmony default export */ var components = (Timeline); | ||
@@ -333,0 +478,0 @@ // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js |
(function webpackUniversalModuleDefinition(root, factory) { | ||
if(typeof exports === 'object' && typeof module === 'object') | ||
module.exports = factory(require("vue")); | ||
module.exports = factory(); | ||
else if(typeof define === 'function' && define.amd) | ||
define([], factory); | ||
else if(typeof exports === 'object') | ||
exports["timeline-vuejs"] = factory(require("vue")); | ||
exports["timeline-vuejs"] = factory(); | ||
else | ||
root["timeline-vuejs"] = factory(root["Vue"]); | ||
})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__8bbf__) { | ||
root["timeline-vuejs"] = factory(); | ||
})((typeof self !== 'undefined' ? self : this), function() { | ||
return /******/ (function(modules) { // webpackBootstrap | ||
@@ -114,2 +114,35 @@ /******/ // The module cache | ||
/***/ "230e": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var isObject = __webpack_require__("d3f4"); | ||
var document = __webpack_require__("7726").document; | ||
// typeof document.createElement is 'object' in old IE | ||
var is = isObject(document) && isObject(document.createElement); | ||
module.exports = function (it) { | ||
return is ? document.createElement(it) : {}; | ||
}; | ||
/***/ }), | ||
/***/ "6a99": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// 7.1.1 ToPrimitive(input [, PreferredType]) | ||
var isObject = __webpack_require__("d3f4"); | ||
// instead of the ES6 spec version, we didn't implement @@toPrimitive case | ||
// and the second argument - flag - preferred type is a string | ||
module.exports = function (it, S) { | ||
if (!isObject(it)) return it; | ||
var fn, val; | ||
if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | ||
if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; | ||
if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; | ||
throw TypeError("Can't convert object to primitive value"); | ||
}; | ||
/***/ }), | ||
/***/ "70d8": | ||
@@ -122,9 +155,118 @@ /***/ (function(module, exports, __webpack_require__) { | ||
/***/ "8bbf": | ||
/***/ "7726": | ||
/***/ (function(module, exports) { | ||
module.exports = __WEBPACK_EXTERNAL_MODULE__8bbf__; | ||
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 | ||
var global = module.exports = typeof window != 'undefined' && window.Math == Math | ||
? window : typeof self != 'undefined' && self.Math == Math ? self | ||
// eslint-disable-next-line no-new-func | ||
: Function('return this')(); | ||
if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef | ||
/***/ }), | ||
/***/ "79e5": | ||
/***/ (function(module, exports) { | ||
module.exports = function (exec) { | ||
try { | ||
return !!exec(); | ||
} catch (e) { | ||
return true; | ||
} | ||
}; | ||
/***/ }), | ||
/***/ "7f7f": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var dP = __webpack_require__("86cc").f; | ||
var FProto = Function.prototype; | ||
var nameRE = /^\s*function ([^ (]*)/; | ||
var NAME = 'name'; | ||
// 19.2.4.2 name | ||
NAME in FProto || __webpack_require__("9e1e") && dP(FProto, NAME, { | ||
configurable: true, | ||
get: function () { | ||
try { | ||
return ('' + this).match(nameRE)[1]; | ||
} catch (e) { | ||
return ''; | ||
} | ||
} | ||
}); | ||
/***/ }), | ||
/***/ "86cc": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var anObject = __webpack_require__("cb7c"); | ||
var IE8_DOM_DEFINE = __webpack_require__("c69a"); | ||
var toPrimitive = __webpack_require__("6a99"); | ||
var dP = Object.defineProperty; | ||
exports.f = __webpack_require__("9e1e") ? Object.defineProperty : function defineProperty(O, P, Attributes) { | ||
anObject(O); | ||
P = toPrimitive(P, true); | ||
anObject(Attributes); | ||
if (IE8_DOM_DEFINE) try { | ||
return dP(O, P, Attributes); | ||
} catch (e) { /* empty */ } | ||
if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); | ||
if ('value' in Attributes) O[P] = Attributes.value; | ||
return O; | ||
}; | ||
/***/ }), | ||
/***/ "9e1e": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
// Thank's IE8 for his funny defineProperty | ||
module.exports = !__webpack_require__("79e5")(function () { | ||
return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; | ||
}); | ||
/***/ }), | ||
/***/ "c69a": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
module.exports = !__webpack_require__("9e1e") && !__webpack_require__("79e5")(function () { | ||
return Object.defineProperty(__webpack_require__("230e")('div'), 'a', { get: function () { return 7; } }).a != 7; | ||
}); | ||
/***/ }), | ||
/***/ "cb7c": | ||
/***/ (function(module, exports, __webpack_require__) { | ||
var isObject = __webpack_require__("d3f4"); | ||
module.exports = function (it) { | ||
if (!isObject(it)) throw TypeError(it + ' is not an object!'); | ||
return it; | ||
}; | ||
/***/ }), | ||
/***/ "d3f4": | ||
/***/ (function(module, exports) { | ||
module.exports = function (it) { | ||
return typeof it === 'object' ? it !== null : typeof it === 'function'; | ||
}; | ||
/***/ }), | ||
/***/ "f2b0": | ||
@@ -150,5 +292,4 @@ /***/ (function(module, __webpack_exports__, __webpack_require__) { | ||
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"} | ||
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf"); | ||
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_); | ||
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.function.name.js | ||
var es6_function_name = __webpack_require__("7f7f"); | ||
@@ -339,3 +480,7 @@ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"d50f023a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Timeline.vue?vue&type=template&id=07dc3835& | ||
external_commonjs_vue_commonjs2_vue_root_Vue_default.a.component('Timeline', Timeline); | ||
if (typeof window !== 'undefined' && window.Vue) { | ||
window.Vue.component(Timeline.name, Timeline); | ||
} | ||
/* harmony default export */ var components = (Timeline); | ||
@@ -342,0 +487,0 @@ // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js |
@@ -1,2 +0,2 @@ | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["timeline-vuejs"]=t(require("vue")):e["timeline-vuejs"]=t(e["Vue"])})("undefined"!==typeof self?self:this,function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"1eb2":function(e,t,n){var r;"undefined"!==typeof window&&((r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js$/))&&(n.p=r[1]))},"70d8":function(e,t,n){},"8bbf":function(t,n){t.exports=e},f2b0:function(e,t,n){"use strict";var r=n("70d8"),i=n.n(r);i.a},fb15:function(e,t,n){"use strict";n.r(t);n("1eb2");var r=n("8bbf"),i=n.n(r),o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"timeline"},[e.hasItems?n("div",{staticClass:"wrapper-timeline"},e._l(e.timelineItems,function(t,r){return n("div",{key:r,staticClass:"wrapper-item"},[n("div",{staticClass:"section-year"},[n("p",{staticClass:"year"},[e._v("\n "+e._s(t.year.to)+"\n ")]),n("p",{staticClass:"year"},[e._v("\n "+e._s(t.year.from)+"\n ")])]),n("section",{staticClass:"timeline-items"},e._l(t.items,function(t,r){return n("div",{key:r,staticClass:"item"},[n("span",{staticClass:"dot"}),n("h3",{staticClass:"month-item"},[e._v(e._s(t.nameMonth))]),n("h4",{staticClass:"title-item",domProps:{innerHTML:e._s(t.title)}}),n("p",{staticClass:"description-item",domProps:{innerHTML:e._s(t.description)}})])}))])})):n("p",[e._v(e._s(e.messageWhenNoItems))])])},s=[],a={name:"Timeline",props:{timelineItems:{type:Array,default:function(){return[]}},messageWhenNoItems:{type:String}},computed:{hasItems:function(){return!!this.timelineItems.length}}},u=a;n("f2b0");function c(e,t,n,r,i,o,s,a){var u,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},c._ssrRegister=u):i&&(u=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(e,t){return u.call(t),l(e,t)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:e,options:c}}var l=c(u,o,s,!1,null,null,null);l.options.__file="Timeline.vue";var f=l.exports;i.a.component("Timeline",f);var p=f;t["default"]=p}})}); | ||
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["timeline-vuejs"]=t():e["timeline-vuejs"]=t()})("undefined"!==typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"1eb2":function(e,t,n){var r;"undefined"!==typeof window&&((r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js$/))&&(n.p=r[1]))},"230e":function(e,t,n){var r=n("d3f4"),o=n("7726").document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},"6a99":function(e,t,n){var r=n("d3f4");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"70d8":function(e,t,n){},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},"7f7f":function(e,t,n){var r=n("86cc").f,o=Function.prototype,i=/^\s*function ([^ (]*)/,s="name";s in o||n("9e1e")&&r(o,s,{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},"86cc":function(e,t,n){var r=n("cb7c"),o=n("c69a"),i=n("6a99"),s=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},cb7c:function(e,t,n){var r=n("d3f4");e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},f2b0:function(e,t,n){"use strict";var r=n("70d8"),o=n.n(r);o.a},fb15:function(e,t,n){"use strict";n.r(t);n("1eb2"),n("7f7f");var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"timeline"},[e.hasItems?n("div",{staticClass:"wrapper-timeline"},e._l(e.timelineItems,function(t,r){return n("div",{key:r,staticClass:"wrapper-item"},[n("div",{staticClass:"section-year"},[n("p",{staticClass:"year"},[e._v("\n "+e._s(t.year.to)+"\n ")]),n("p",{staticClass:"year"},[e._v("\n "+e._s(t.year.from)+"\n ")])]),n("section",{staticClass:"timeline-items"},e._l(t.items,function(t,r){return n("div",{key:r,staticClass:"item"},[n("span",{staticClass:"dot"}),n("h3",{staticClass:"month-item"},[e._v(e._s(t.nameMonth))]),n("h4",{staticClass:"title-item",domProps:{innerHTML:e._s(t.title)}}),n("p",{staticClass:"description-item",domProps:{innerHTML:e._s(t.description)}})])}))])})):n("p",[e._v(e._s(e.messageWhenNoItems))])])},o=[],i={name:"Timeline",props:{timelineItems:{type:Array,default:function(){return[]}},messageWhenNoItems:{type:String}},computed:{hasItems:function(){return!!this.timelineItems.length}}},s=i;n("f2b0");function c(e,t,n,r,o,i,s,c){var u,f="function"===typeof e?e.options:e;if(t&&(f.render=t,f.staticRenderFns=n,f._compiled=!0),r&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),s?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},f._ssrRegister=u):o&&(u=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(f.functional){f._injectStyles=u;var a=f.render;f.render=function(e,t){return u.call(t),a(e,t)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,u):[u]}return{exports:e,options:f}}var u=c(s,r,o,!1,null,null,null);u.options.__file="Timeline.vue";var f=u.exports;"undefined"!==typeof window&&window.Vue&&window.Vue.component(f.name,f);var a=f;t["default"]=a}})}); | ||
//# sourceMappingURL=timeline-vuejs.umd.min.js.map |
{ | ||
"name": "timeline-vuejs", | ||
"version": "0.1.20", | ||
"version": "0.1.21", | ||
"main": "dist/timeline-vuejs.common.js", | ||
@@ -5,0 +5,0 @@ "description": "Minimalist Timeline with VueJS", |
@@ -1,6 +0,7 @@ | ||
import Vue from 'vue' | ||
import Timeline from './Timeline.vue' | ||
Vue.component('Timeline', Timeline) | ||
if (typeof window !== 'undefined' && window.Vue) { | ||
window.Vue.component(Timeline.name, Timeline) | ||
} | ||
export default Timeline |
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
311891
872
1