-
Notifications
You must be signed in to change notification settings - Fork 27
/
index.js
91 lines (70 loc) · 3.23 KB
/
index.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
80
81
82
83
84
85
86
87
88
89
90
91
'use strict';
module.exports = {
name: 'ember-flexberry',
included: function(app) {
this._super.apply(this._super, arguments);
app.import('vendor/polyfills.js', {
prepend: true
});
app.import('vendor/ember-flexberry/register-version.js');
app.import({
development: 'bower_components/moment/min/moment-with-locales.js',
production: 'bower_components/moment/min/moment-with-locales.min.js'
});
app.import({
development: 'bower_components/blueimp-file-upload/js/vendor/jquery.ui.widget.js',
production: 'bower_components/blueimp-file-upload/js/vendor/jquery.ui.widget.js'
});
app.import({
development: 'bower_components/blueimp-file-upload/js/jquery.iframe-transport.js',
production: 'bower_components/blueimp-file-upload/js/jquery.iframe-transport.js'
});
app.import({
development: 'bower_components/blueimp-file-upload/js/jquery.fileupload.js',
production: 'bower_components/blueimp-file-upload/js/jquery.fileupload.js'
});
app.import({
development: 'node_modules/flatpickr/dist/flatpickr.js',
production: 'node_modules/flatpickr/dist/flatpickr.min.js'
});
app.import({
development: 'bower_components/semantic-ui/dist/semantic.js',
production: 'bower_components/semantic-ui/dist/semantic.min.js'
});
app.import('node_modules/flatpickr/dist/flatpickr.min.css');
app.import('node_modules/flatpickr/dist/l10n/ru.js');
app.import({
development: 'bower_components/devicejs/lib/device.js',
production: 'bower_components/devicejs/lib/device.min.js'
});
// JS-code beautifier to format strings containing JS-code & represent in in user-friendly view.
app.import({
development: 'bower_components/js-beautify/js/lib/beautify.js',
production: 'bower_components/js-beautify/js/lib/beautify.js'
});
// UI-slider control.
app.import({
development: 'bower_components/seiyria-bootstrap-slider/dist/bootstrap-slider.js',
production: 'bower_components/seiyria-bootstrap-slider/dist/bootstrap-slider.min.js'
});
// JQuery-minicolors plugin required for flexberry-colorpicker component.
app.import({
development: 'bower_components/jquery-minicolors/jquery.minicolors.js',
production: 'bower_components/jquery-minicolors/jquery.minicolors.min.js'
});
app.import('bower_components/jquery-minicolors/jquery.minicolors.css');
app.import('bower_components/jquery-minicolors/jquery.minicolors.png', {
destDir: '/assets'
});
// Custom script which fixes some jQuery 1.10.x+ AJAX bugs with code from newer jQuery.3.0.0-alpha1+compat version.
app.import('vendor/jquery.3.0.0-alpha1+compat/jquery.ajaxreplacement.js');
// Script for column resize.
app.import('vendor/jquery.colResizable/colResizable-1.6.min.js');
// Script for mask input.
app.import('vendor/jquery.maskedinput.min/jquery.maskedinput.min.js');
// JQuery file download plugin with error callbacks support.
app.import('vendor/jquery.flexberry.downloadFile/jquery.flexberry.downloadFile.js');
// JQuery plugin for blob data type support in ajax requests.
app.import('vendor/jquery.blobAjaxTransport/jquery.blobajaxtransport.js');
}
};