UNPKG

vue-typed-mixins

Version:
29 lines (24 loc) 863 B
/*! * vue-typed-mixins v0.2.0 * https://github.com/ktsn/vue-typed-mixins * * @license * Copyright (c) 2018 katashin * Released under the MIT license * https://github.com/ktsn/vue-typed-mixins/blob/master/LICENSE */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('vue')) : typeof define === 'function' && define.amd ? define(['vue'], factory) : (global = global || self, global.VueTypedMixins = factory(global.Vue)); }(this, (function (Vue) { 'use strict'; Vue = Vue && Vue.hasOwnProperty('default') ? Vue['default'] : Vue; function mixins() { var mixins = []; for (var _i = 0; _i < arguments.length; _i++) { mixins[_i] = arguments[_i]; } return Vue.extend({ mixins: mixins }); } return mixins; })));