-
Notifications
You must be signed in to change notification settings - Fork 987
/
bundle.js
79 lines (74 loc) · 2.35 KB
/
bundle.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
import 'babel-polyfill';
import compute from './foreman_compute_resource';
import componentRegistry from './react_app/components/componentRegistry';
import i18n from './react_app/common/I18n';
import * as document from './react_app/common/document';
import hosts from './foreman_hosts';
import * as store from './foreman_store';
import * as authSource from './foreman_auth_source';
import * as tools from './foreman_tools';
import * as users from './foreman_users';
import * as sshKeys from './foreman_ssh_keys';
import * as trends from './foreman_trends';
import * as hostgroups from './foreman_hostgroups';
import * as httpProxies from './foreman_http_proxies';
import * as toastNotifications from './foreman_toast_notifications';
import * as numFields from './jquery.ui.custom_spinners';
import * as reactMounter from './react_app/common/MountingService';
import * as editor from './foreman_editor';
import * as nav from './foreman_navigation';
import * as medium from './foreman_medium';
import * as templateInputs from './foreman_template_inputs';
import * as advancedFields from './foreman_advanced_fields';
import * as breadcrumbs from './foreman_breadcrumbs';
import * as configReportsModalDiff from './foreman_config_reports_modal_diff';
import * as classEditor from './foreman_class_edit';
import * as dashboard from './dashboard';
import * as spice from './spice';
import './bundle_datatables';
import './bundle_lodash';
import './bundle_novnc';
/* eslint-disable-next-line */
require('expose-loader?$!expose-loader?jQuery!jquery');
require('jquery-ujs');
window.jstz = require('jstz');
window.ipaddr = require('ipaddr.js');
window.JsDiff = require('diff');
require('./bundle_flot');
require('./bundle_multiselect');
require('./bundle_select2');
// Set the public path for dynamic imports
if (process.env.NODE_ENV !== 'production') {
/* eslint-disable-next-line */
__webpack_public_path__ = `${window.location.protocol}//${
window.location.hostname
}:3808/webpack/`;
}
window.tfm = Object.assign(window.tfm || {}, {
authSource,
tools,
users,
computeResource: compute,
sshKeys,
trends,
hostgroups,
hosts,
httpProxies,
toastNotifications,
numFields,
reactMounter,
editor,
nav,
medium,
templateInputs,
advancedFields,
breadcrumbs,
configReportsModalDiff,
classEditor,
dashboard,
i18n,
spice,
document,
componentRegistry,
store,
});