1
- function _typeof(obj) {
2
- if (typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol') {
3
- _typeof = function _typeof(obj) {
4
- return typeof obj;
5
- };
6
- } else {
7
- _typeof = function _typeof(obj) {
8
- return obj &&
9
- typeof Symbol === 'function' &&
10
- obj.constructor === Symbol &&
11
- obj !== Symbol.prototype
12
- ? 'symbol'
13
- : typeof obj;
1
+ "use strict";
2
+
3
+ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
4
+
5
+ !function (e) {
6
+ var t = {};
7
+
8
+ function n(r) {
9
+ if (t[r]) return t[r].exports;
10
+ var o = t[r] = {
11
+ i: r,
12
+ l: !1,
13
+ exports: {}
14
14
};
15
+ return e[r].call(o.exports, o, o.exports, n), o.l = !0, o.exports;
15
16
}
16
- return _typeof(obj);
17
- }
18
-
19
- const userTimeout = require('./lib/userTimeout');
20
17
21
- (function() {
22
- /**
23
- * Install plugin
24
- * @param Vue
25
- * @param options
26
- */
27
- function plugin(Vue, axios) {
28
- if (plugin.installed) {
29
- return;
18
+ n.m = e, n.c = t, n.d = function (e, t, r) {
19
+ n.o(e, t) || Object.defineProperty(e, t, {
20
+ enumerable: !0,
21
+ get: r
22
+ });
23
+ }, n.r = function (e) {
24
+ "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
25
+ value: "Module"
26
+ }), Object.defineProperty(e, "__esModule", {
27
+ value: !0
28
+ });
29
+ }, n.t = function (e, t) {
30
+ if (1 & t && (e = n(e)), 8 & t) return e;
31
+ if (4 & t && "object" == _typeof(e) && e && e.__esModule) return e;
32
+ var r = Object.create(null);
33
+ if (n.r(r), Object.defineProperty(r, "default", {
34
+ enumerable: !0,
35
+ value: e
36
+ }), 2 & t && "string" != typeof e) for (var o in e) {
37
+ n.d(r, o, function (t) {
38
+ return e[t];
39
+ }.bind(null, o));
30
40
}
41
+ return r;
42
+ }, n.n = function (e) {
43
+ var t = e && e.__esModule ? function () {
44
+ return e["default"];
45
+ } : function () {
46
+ return e;
47
+ };
48
+ return n.d(t, "a", t), t;
49
+ }, n.o = function (e, t) {
50
+ return Object.prototype.hasOwnProperty.call(e, t);
51
+ }, n.p = "", n(n.s = 0);
52
+ }([function (e, t, n) {
53
+ var r = n(1);
31
54
32
- plugin.installed = true;
33
- Vue.$userTimeout = userTimeout;
34
- Object.defineProperties(Vue.prototype, {
55
+ e.exports = function e(t, n) {
56
+ e.installed || (e.installed = !0, t.$userTimeout = r, Object.defineProperties(t.prototype, {
35
57
$userTimeout: {
36
58
get: function get() {
37
- return userTimeout;
38
- },
39
- },
40
- });
41
- } // Logic to determine how to include the plugin
59
+ return r;
60
+ }
61
+ }
62
+ }));
63
+ };
64
+ }, function (e, t, n) {
65
+ "use strict";
42
66
43
- if (
44
- (typeof exports === 'undefined' ? 'undefined' : _typeof(exports)) ==
45
- 'object'
46
- ) {
47
- module.exports = plugin;
48
- } else if (typeof define === 'function' && define.amd) {
49
- define([], function() {
50
- return plugin;
51
- });
52
- } else if (window.Vue && typeof window !== 'undefined') {
53
- Vue.use(plugin, options);
54
- }
55
- })();
67
+ n.r(t), t["default"] = {
68
+ test: "Test",
69
+ init: function init(e) {}
70
+ };
71
+ }]);
0 commit comments