File tree Expand file tree Collapse file tree 10 files changed +20
-244
lines changed Expand file tree Collapse file tree 10 files changed +20
-244
lines changed Original file line number Diff line number Diff line change 6
6
},
7
7
"dependencies" : {
8
8
"fomantic-ui" : " 2.8.3" ,
9
+ "jquery" : " 3.4.1" ,
10
+ "jquery-migrate" : " 3.1.0" ,
9
11
"swagger-ui" : " 3.24.3" ,
10
12
"vue-bar-graph" : " 1.2.0"
11
13
},
Original file line number Diff line number Diff line change 16
16
< td > < a href ="https://github.com/codedance/jquery.AreYouSure/archive/1.9.0.tar.gz "> jquery.areyousure-1.9.0.tar.gz</ a > </ td >
17
17
</ tr >
18
18
< tr >
19
- < td > < a href ="./plugins /jquery/jquery.min. js "> jquery.min.js </ a > </ td >
19
+ < td > < a href ="../js /jquery. js "> jQuery </ a > </ td >
20
20
< td > < a href ="https://jquery.org/license/ "> MIT</ a > </ td >
21
21
< td > < a href ="https://code.jquery.com/jquery-3.4.1.min.js "> jquery-3.4.1.min.js</ a > </ td >
22
22
</ tr >
23
23
< tr >
24
- < td > < a href ="./plugins /jquery-migrate/jquery-migrate.min. js "> jquery-migrate.min.js </ a > </ td >
24
+ < td > < a href ="../js /jquery. js "> jQuery Migrate </ a > </ td >
25
25
< td > < a href ="https://jquery.org/license/ "> MIT</ a > </ td >
26
- < td > < a href ="https://code.jquery.com/jquery-migrate-3.0.1. min.js "> jquery-migrate-3.0.1 .min.js</ a > </ td >
26
+ < td > < a href ="https://code.jquery.com/jquery-migrate-3.1.0. min.js "> jquery-migrate-3.1.0 .min.js</ a > </ td >
27
27
</ tr >
28
28
< tr >
29
29
< td > < a href ="./plugins/fomantic/semantic.min.js "> semantic.min.js</ a > </ td >
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 12
12
13
13
{{template "base/footer_content" .}}
14
14
15
- <script src="{{StaticUrlPrefix}}/vendor/plugins/jquery/jquery.min.js?v=3.4.1"></script>
16
- <script src="{{StaticUrlPrefix}}/vendor/plugins/jquery-migrate/jquery-migrate.min.js?v=3.0.1"></script>
15
+ <script src="{{StaticUrlPrefix}}/js/jquery.js?v={{MD5 AppVer}}"></script>
17
16
<script src="{{StaticUrlPrefix}}/vendor/plugins/jquery.areyousure/jquery.are-you-sure.js"></script>
18
17
{{if .RequireSimpleMDE}}
19
18
<script src="{{StaticUrlPrefix}}/vendor/plugins/simplemde/simplemde.min.js"></script>
115
114
<script src="{{StaticUrlPrefix}}/vendor/plugins/emojify/emojify.custom.js"></script>
116
115
<script src="{{StaticUrlPrefix}}/vendor/plugins/clipboard/clipboard.min.js"></script>
117
116
<script src="{{StaticUrlPrefix}}/vendor/plugins/vue/vue.min.js"></script>
118
-
119
- <!-- JavaScript -->
120
117
<script src="{{StaticUrlPrefix}}/fomantic/semantic.min.js?v={{MD5 AppVer}}"></script>
121
118
<script src="{{StaticUrlPrefix}}/js/index.js?v={{MD5 AppVer}}"></script>
122
119
{{if .EnableHeatmap}}
Original file line number Diff line number Diff line change @@ -2,12 +2,11 @@ var STATIC_CACHE = 'static-cache-v1';
2
2
var urlsToCache = [
3
3
// js
4
4
'{{StaticUrlPrefix}}/vendor/plugins/jquery.areyousure/jquery.are-you-sure.js',
5
- '{{StaticUrlPrefix}}/vendor/plugins/jquery/jquery.min.js?v=3.4.1',
6
- '{{StaticUrlPrefix}}/vendor/plugins/jquery-migrate/jquery-migrate.min.js?v=3.0.1',
7
5
'{{StaticUrlPrefix}}/fomantic/semantic.min.js?v={{MD5 AppVer}}',
8
6
'{{StaticUrlPrefix}}/js/index.js?v={{MD5 AppVer}}',
9
7
'{{StaticUrlPrefix}}/js/swagger.js?v={{MD5 AppVer}}',
10
8
'{{StaticUrlPrefix}}/js/gitgraph.js?v={{MD5 AppVer}}',
9
+ '{{StaticUrlPrefix}}/js/jquery.js?v={{MD5 AppVer}}',
11
10
'{{StaticUrlPrefix}}/vendor/plugins/clipboard/clipboard.min.js',
12
11
'{{StaticUrlPrefix}}/vendor/plugins/vue/vue.min.js',
13
12
'{{StaticUrlPrefix}}/vendor/plugins/emojify/emojify.custom.js',
Original file line number Diff line number Diff line change
1
+ import $ from 'jquery' ;
2
+ import 'jquery-migrate' ;
3
+
4
+ $ . migrateMute = true ;
5
+ window . $ = window . jQuery = $ ;
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ module.exports = {
8
8
entry : {
9
9
index : [ './web_src/js/index' ] ,
10
10
swagger : [ './web_src/js/swagger' ] ,
11
+ jquery : [ './web_src/js/jquery' ] ,
11
12
} ,
12
13
devtool : false ,
13
14
output : {
@@ -77,6 +78,8 @@ module.exports = {
77
78
} ) ,
78
79
] ,
79
80
performance : {
81
+ maxEntrypointSize : 512000 ,
82
+ maxAssetSize : 512000 ,
80
83
assetFilter : ( filename ) => {
81
84
return ! filename . endsWith ( '.map' ) && filename !== 'swagger.js' ;
82
85
}
You can’t perform that action at this time.
0 commit comments