Skip to content

Commit

Permalink
SAK-41572 WebJars: Upgrade Momentjs from 2.22.2 to 2.24.0 (april-2019)
Browse files Browse the repository at this point in the history
  • Loading branch information
josecebe authored and Miguel Pellicer committed Apr 1, 2019
1 parent d9f6e52 commit 418fcbe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<dependency>
<groupId>org.webjars</groupId>
<artifactId>momentjs</artifactId>
<version>2.22.2</version>
<version>2.24.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion library/src/webapp/js/headscripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ function includeWebjarLibrary(library) {
document.write('\x3Cscript type="text/javascript" src="' + webjars + 'featherlight/src/featherlight.js' + ver + '">' + '\x3C/script>');
document.write('\x3Clink rel="stylesheet" href="' + webjars + 'featherlight/src/featherlight.css' + ver + '"/>');
} else if (library == 'momentjs') {
libraryVersion = "2.22.2";
libraryVersion = "2.24.0";
document.write('\x3Cscript type="text/javascript" src="' + webjars + 'momentjs/' + libraryVersion + '/min/moment-with-locales.min.js' + ver + '">' + '\x3C/script>');
} else if (library == 'dropzone') {
libraryVersion = "5.5.0";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<link href="${pageWebjarsPath}fontawesome/4.7.0/css/font-awesome.min.css$!{portalCDNQuery}" rel="stylesheet">
<script src="${pageSkinRepo}/${pageSkin}/js/lib/modernizr.js$!{portalCDNQuery}"></script>
<script src="/webcomponents/assets/@webcomponents/webcomponentsjs/webcomponents-loader.js$!{portalCDNQuery}"></script>
<script src="${pageWebjarsPath}momentjs/2.22.2/min/moment-with-locales.min.js$!{portalCDNQuery}"></script>
<script src="${pageWebjarsPath}momentjs/2.24.0/min/moment-with-locales.min.js$!{portalCDNQuery}"></script>
#if ($useBullhornAlerts)
<script src="/profile2-tool/javascript/profile2-eb.js$!{portalCDNQuery}"></script>
#end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
src="/library/webjars/jquery-migrate/1.4.1/jquery-migrate.min.js"
rsf:id="scr=contribute-script"></script>
<script type="text/javascript"
src="/library/webjars/momentjs/2.22.2/min/moment-with-locales.min.js"
src="/library/webjars/momentjs/2.24.0/min/moment-with-locales.min.js"
rsf:id="scr=contribute-script"></script>
<script type="text/javascript"
src="/library/js/lang-datepicker/lang-datepicker.js"
Expand Down

0 comments on commit 418fcbe

Please sign in to comment.