You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2014/04/18 01:08:44 UTC

git commit: Move test assets to correct location

Repository: tapestry-5
Updated Branches:
  refs/heads/master 401b29e73 -> bc5c3a913


Move test assets to correct location


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

Branch: refs/heads/master
Commit: bc5c3a913d50bd894516b1a009d24098a4f59cd3
Parents: 401b29e
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Thu Apr 17 16:08:23 2014 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Thu Apr 17 16:08:35 2014 -0700

----------------------------------------------------------------------
 .../src/test/coffeescript/META-INF/assets/zonedemo.coffee       | 5 +++++
 .../org/apache/tapestry5/integration/app1/pages/zonedemo.coffee | 5 -----
 .../tapestry5/integration/app1/pages/nested/ZoneDemo.java       | 4 +---
 3 files changed, 6 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/bc5c3a91/tapestry-core/src/test/coffeescript/META-INF/assets/zonedemo.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/coffeescript/META-INF/assets/zonedemo.coffee b/tapestry-core/src/test/coffeescript/META-INF/assets/zonedemo.coffee
new file mode 100644
index 0000000..0b5b8a8
--- /dev/null
+++ b/tapestry-core/src/test/coffeescript/META-INF/assets/zonedemo.coffee
@@ -0,0 +1,5 @@
+require ["t5/core/dom", "t5/core/events"],
+  (dom, events) ->
+
+    dom.onDocument events.zone.didUpdate, ->
+      (dom "zone-update-message").update "Zone updated."

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/bc5c3a91/tapestry-core/src/test/coffeescript/org/apache/tapestry5/integration/app1/pages/zonedemo.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/coffeescript/org/apache/tapestry5/integration/app1/pages/zonedemo.coffee b/tapestry-core/src/test/coffeescript/org/apache/tapestry5/integration/app1/pages/zonedemo.coffee
deleted file mode 100644
index 0b5b8a8..0000000
--- a/tapestry-core/src/test/coffeescript/org/apache/tapestry5/integration/app1/pages/zonedemo.coffee
+++ /dev/null
@@ -1,5 +0,0 @@
-require ["t5/core/dom", "t5/core/events"],
-  (dom, events) ->
-
-    dom.onDocument events.zone.didUpdate, ->
-      (dom "zone-update-message").update "Zone updated."

http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/bc5c3a91/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/nested/ZoneDemo.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/nested/ZoneDemo.java b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/nested/ZoneDemo.java
index ea45eeb..4e2ad9e 100644
--- a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/nested/ZoneDemo.java
+++ b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/nested/ZoneDemo.java
@@ -1,5 +1,3 @@
-// Copyright 2007, 2008, 2009, 2010, 2011 The Apache Software Foundation
-//
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
 // You may obtain a copy of the License at
@@ -35,7 +33,7 @@ import org.apache.tapestry5.services.javascript.StylesheetOptions;
 
 import java.util.Date;
 
-@Import(library = "../zonedemo.js")
+@Import(library = "zonedemo.js")
 public class ZoneDemo
 {
     @Component(id = "registrationForm")