You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by jk...@apache.org on 2014/08/05 12:45:07 UTC

[3/3] git commit: update Moment.js to 2.8.1

update Moment.js to 2.8.1


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/50ebb518
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/50ebb518
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/50ebb518

Branch: refs/heads/master
Commit: 50ebb518e72b8be5336b9f25380a8651a8dfe693
Parents: dca3b48
Author: Jochen Kemnade <jo...@eddyson.de>
Authored: Tue Aug 5 12:44:36 2014 +0200
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Tue Aug 5 12:44:36 2014 +0200

----------------------------------------------------------------------
 .../META-INF/modules/t5/core/moment.coffee      |    2 +-
 .../tapestry5/modules/JavaScriptModule.java     |    2 +-
 .../META-INF/assets/tapestry5/moment-2.7.0.js   | 8521 ----------------
 .../META-INF/assets/tapestry5/moment-2.8.1.js   | 9072 ++++++++++++++++++
 4 files changed, 9074 insertions(+), 8523 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/50ebb518/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/moment.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/moment.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/moment.coffee
index eeff51d..4b11254 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/moment.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/moment.coffee
@@ -20,6 +20,6 @@ define ["moment"],
 (moment) ->
   locale = (document.documentElement.getAttribute "data-locale") or "en"
 
-  moment.lang(locale)
+  moment.locale(locale)
 
   return moment
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/50ebb518/tapestry-core/src/main/java/org/apache/tapestry5/modules/JavaScriptModule.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/modules/JavaScriptModule.java b/tapestry-core/src/main/java/org/apache/tapestry5/modules/JavaScriptModule.java
index 903fb1a..713eb45 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/modules/JavaScriptModule.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/modules/JavaScriptModule.java
@@ -337,7 +337,7 @@ public class JavaScriptModule
                                         @Path("${tapestry.asset.root}/typeahead-0.9.3.js")
                                         Resource typeahead,
 
-                                        @Path("${tapestry.asset.root}/moment-2.7.0.js")
+                                        @Path("${tapestry.asset.root}/moment-2.8.1.js")
                                         Resource moment,
 
                                         @Path("${" + SymbolConstants.BOOTSTRAP_ROOT + "}/js/transition.js")