Skip to content

Commit cd48037

Browse files
committed
Fixes issue #954: momentjs webjar is aligned with wicket-bootstrap
1 parent e56994f commit cd48037

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -915,8 +915,8 @@
915915
<version>${jquery-ui.version}</version>
916916
</dependency>
917917
<dependency>
918-
<groupId>org.webjars</groupId>
919-
<artifactId>momentjs</artifactId>
918+
<groupId>org.webjars.npm</groupId>
919+
<artifactId>moment</artifactId>
920920
<version>${moment-js.version}</version>
921921
</dependency>
922922
<dependency>

wicket-jquery-ui-parent/wicket-jquery-ui-core/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
<artifactId>wicket-webjars</artifactId>
4040
</dependency>
4141
<dependency>
42-
<groupId>org.webjars</groupId>
43-
<artifactId>momentjs</artifactId>
42+
<groupId>org.webjars.npm</groupId>
43+
<artifactId>moment</artifactId>
4444
</dependency>
4545

4646
<!-- JUNIT DEPENDENCY FOR TESTING -->

wicket-jquery-ui-parent/wicket-jquery-ui-core/src/main/java/com/googlecode/wicket/jquery/core/resource/JQueryMomentResourceReference.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ public static JQueryMomentResourceReference get()
4545
*/
4646
private JQueryMomentResourceReference()
4747
{
48-
super("momentjs/current/min/moment.min.js");
48+
super("moment/current/min/moment.min.js");
4949
}
5050
}

0 commit comments

Comments
 (0)