Skip to content

Commit 2d99e63

Browse files
committed
Fixes issue #954: momentjs webjar is aligned with wicket-bootstrap
1 parent c54a0bf commit 2d99e63

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
@@ -974,8 +974,8 @@
974974
<version>${jquery-ui.version}</version>
975975
</dependency>
976976
<dependency>
977-
<groupId>org.webjars</groupId>
978-
<artifactId>momentjs</artifactId>
977+
<groupId>org.webjars.npm</groupId>
978+
<artifactId>moment</artifactId>
979979
<version>${moment-js.version}</version>
980980
</dependency>
981981
<dependency>

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

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

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

wicketstuff-jquery-ui-parent/wicketstuff-jquery-ui-core/src/main/java/org/wicketstuff/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)