File tree 6 files changed +8
-3
lines changed
java/ru/mystamps/web/feature/site
webapp/WEB-INF/views/series
6 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -75,3 +75,5 @@ var CatalogUtils = {
75
75
}
76
76
77
77
}
78
+
79
+ window . CatalogUtils = CatalogUtils ;
Original file line number Diff line number Diff line change
1
+ import './CatalogUtils.js'
2
+
1
3
describe ( "CatalogUtils.expandNumbers()" , function ( ) {
2
4
3
5
it ( "should return empty string for empty string" , function ( ) {
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ const webpack = require('webpack');
5
5
module . exports = {
6
6
mode : 'production' ,
7
7
entry : {
8
+ 'utils/CatalogUtils' : './src/utils/CatalogUtils.js' ,
8
9
'utils/DateUtils' : './src/utils/DateUtils.js' ,
9
10
10
11
'components/AddCatalogNumbersForm' : './src/components/AddCatalogNumbersForm.js' ,
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public final class ResourceUrl {
35
35
public static final String RESOURCES_VERSION = "v0.4.6.0" ;
36
36
37
37
// CheckStyle: ignore LineLength for next 17 lines
38
- private static final String CATALOG_UTILS_JS = "/public/js/" + RESOURCES_VERSION + "/CatalogUtils.min.js" ;
38
+ private static final String CATALOG_UTILS_JS = "/public/js/" + RESOURCES_VERSION + "/utils/ CatalogUtils.min.js" ;
39
39
private static final String COLLECTION_INFO_JS = "/public/js/" + RESOURCES_VERSION + "/collection/info.min.js" ;
40
40
private static final String DATE_UTILS_JS = "/public/js/" + RESOURCES_VERSION + "/utils/DateUtils.min.js" ;
41
41
private static final String MAIN_CSS = "/static/" + RESOURCES_VERSION + "/styles/main.min.css" ;
Original file line number Diff line number Diff line change @@ -528,7 +528,7 @@ <h3 th:text="${#strings.capitalize(add_series)}">
528
528
< script src ="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js " th:src ="${BOOTSTRAP_JS} "> </ script >
529
529
< script src ="http://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.5/js/standalone/selectize.min.js " th:src ="${SELECTIZE_JS} "> </ script >
530
530
531
- < script src ="../../../../javascript/ CatalogUtils.js " th:src ="${CATALOG_UTILS_JS} "> </ script >
531
+ < script src ="../../../../../../target/classes/js/utils/ CatalogUtils.min .js " th:src ="${CATALOG_UTILS_JS} "> </ script >
532
532
< script src ="../../../../javascript/series/add.js " th:src ="${SERIES_ADD_JS} "> </ script >
533
533
</ body >
534
534
</ html >
Original file line number Diff line number Diff line change @@ -1290,7 +1290,7 @@ <h5 th:text="#{t_add_info_who_selling_series}">Add info about selling/buying thi
1290
1290
<!--/*/
1291
1291
<th:block sec:authorize="hasAuthority('MARK_SIMILAR_SERIES')">
1292
1292
/*/-->
1293
- < script src ="../../../../javascript/ CatalogUtils.js " th:src ="${CATALOG_UTILS_JS} "> </ script >
1293
+ < script src ="../../../../../../target/classes/js/utils/ CatalogUtils.min .js " th:src ="${CATALOG_UTILS_JS} "> </ script >
1294
1294
< script src ="../../../../../../target/classes/js/components/SimilarSeriesForm.min.js " th:src ="${SIMILAR_SERIES_FORM_JS} "> </ script >
1295
1295
< script th:inline ="javascript ">
1296
1296
/*[+
You can’t perform that action at this time.
0 commit comments