1 | (function webpackUniversalModuleDefinition(root, factory) {
|
2 | if(typeof exports === 'object' && typeof module === 'object')
|
3 | module.exports = factory(require("./actions.js"));
|
4 | else if(typeof define === 'function' && define.amd)
|
5 | define(["./actions.js"], factory);
|
6 | else if(typeof exports === 'object')
|
7 | exports["router.js"] = factory(require("./actions.js"));
|
8 | else
|
9 | root["router.js"] = factory(root["./actions.js"]);
|
10 | })(this, function(__WEBPACK_EXTERNAL_MODULE_14__) {
|
11 | return (function(modules) {
|
12 |
|
13 | var installedModules = {};
|
14 |
|
15 |
|
16 | function __webpack_require__(moduleId) {
|
17 |
|
18 |
|
19 | if(installedModules[moduleId])
|
20 | return installedModules[moduleId].exports;
|
21 |
|
22 |
|
23 | var module = installedModules[moduleId] = {
|
24 | exports: {},
|
25 | id: moduleId,
|
26 | loaded: false
|
27 | };
|
28 |
|
29 |
|
30 | modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
31 |
|
32 |
|
33 | module.loaded = true;
|
34 |
|
35 |
|
36 | return module.exports;
|
37 | }
|
38 |
|
39 |
|
40 |
|
41 | __webpack_require__.m = modules;
|
42 |
|
43 |
|
44 | __webpack_require__.c = installedModules;
|
45 |
|
46 |
|
47 | __webpack_require__.p = "";
|
48 |
|
49 |
|
50 | return __webpack_require__(0);
|
51 | })
|
52 |
|
53 | ({
|
54 |
|
55 | 0:
|
56 | function(module, exports, __webpack_require__) {
|
57 |
|
58 | 'use strict';
|
59 |
|
60 | Object.defineProperty(exports, "__esModule", {
|
61 | value: true
|
62 | });
|
63 | exports.BaseHandler = exports.METHODS = undefined;
|
64 |
|
65 | var _actions = __webpack_require__(14);
|
66 |
|
67 | var actions = _interopRequireWildcard(_actions);
|
68 |
|
69 | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }
|
70 |
|
71 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
72 |
|
73 | var METHODS = exports.METHODS = {
|
74 | GET: 'get',
|
75 | POST: 'post',
|
76 | PUT: 'put',
|
77 | PATCH: 'patch',
|
78 | DELETE: 'delete'
|
79 | };
|
80 |
|
81 | var BaseHandler = exports.BaseHandler = function BaseHandler(originalUrl, urlParams, queryParams, hashParams, bodyParams, dispatch, getState) {
|
82 | _classCallCheck(this, BaseHandler);
|
83 |
|
84 | this.originalUrl = originalUrl;
|
85 | this.urlParams = urlParams;
|
86 | this.queryParams = queryParams;
|
87 | this.hashParams = hashParams;
|
88 | this.bodyParams = bodyParams;
|
89 | };
|
90 |
|
91 | ;
|
92 |
|
93 | exports.default = {
|
94 | METHODS: METHODS,
|
95 | BaseHandler: BaseHandler
|
96 | };
|
97 |
|
98 | },
|
99 |
|
100 | 14:
|
101 | function(module, exports) {
|
102 |
|
103 | module.exports = __WEBPACK_EXTERNAL_MODULE_14__;
|
104 |
|
105 | }
|
106 |
|
107 | })
|
108 | });
|
109 | ; |
\ | No newline at end of file |