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 2015/03/17 10:47:55 UTC
[1/2] tapestry-5 git commit: cause "require is not a function" error
on index page
Repository: tapestry-5
Updated Branches:
refs/heads/master eb9e29e8e -> da4dc29d6
cause "require is not a function" error on index page
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/2f1c8eec
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/2f1c8eec
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/2f1c8eec
Branch: refs/heads/master
Commit: 2f1c8eec4dceda31b8a9eb75dd31bcb821a8bd1b
Parents: eb9e29e
Author: Jochen Kemnade <jk...@apache.org>
Authored: Sat Jan 3 17:42:59 2015 +0100
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Tue Mar 17 10:25:08 2015 +0100
----------------------------------------------------------------------
.../java/org/apache/tapestry5/integration/app1/pages/Index.java | 2 ++
tapestry-core/src/test/resources/META-INF/modules/index.js | 4 ++++
2 files changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/2f1c8eec/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/Index.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/Index.java b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/Index.java
index f146ec1..ed10c09 100644
--- a/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/Index.java
+++ b/tapestry-core/src/test/java/org/apache/tapestry5/integration/app1/pages/Index.java
@@ -15,6 +15,7 @@ package org.apache.tapestry5.integration.app1.pages;
import org.apache.tapestry5.ComponentResources;
import org.apache.tapestry5.Link;
import org.apache.tapestry5.PersistenceConstants;
+import org.apache.tapestry5.annotations.Import;
import org.apache.tapestry5.annotations.InjectPage;
import org.apache.tapestry5.annotations.Persist;
import org.apache.tapestry5.annotations.Property;
@@ -29,6 +30,7 @@ import java.util.*;
/**
* Have to start somewhere!
*/
+@Import(module="index")
public class Index
{
@Persist(PersistenceConstants.FLASH)
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/2f1c8eec/tapestry-core/src/test/resources/META-INF/modules/index.js
----------------------------------------------------------------------
diff --git a/tapestry-core/src/test/resources/META-INF/modules/index.js b/tapestry-core/src/test/resources/META-INF/modules/index.js
new file mode 100644
index 0000000..1cdd11c
--- /dev/null
+++ b/tapestry-core/src/test/resources/META-INF/modules/index.js
@@ -0,0 +1,4 @@
+define([ "t5/core/ajax" ], function(ajax) {
+ ajax("index.foobar", {});
+ ajax("index.foobar", {});
+});
\ No newline at end of file
[2/2] tapestry-5 git commit: add a testRuntime dependency on guice to
fix a ClassNotFoundException when Groovy initializes our test classes
Posted by jk...@apache.org.
add a testRuntime dependency on guice to fix a ClassNotFoundException when Groovy initializes our test classes
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/da4dc29d
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/da4dc29d
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/da4dc29d
Branch: refs/heads/master
Commit: da4dc29d698bcb9a375ebe34e48779281b1c2b78
Parents: 2f1c8ee
Author: Jochen Kemnade <jo...@eddyson.de>
Authored: Tue Mar 17 10:46:51 2015 +0100
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Tue Mar 17 10:46:51 2015 +0100
----------------------------------------------------------------------
tapestry-core/build.gradle | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/da4dc29d/tapestry-core/build.gradle
----------------------------------------------------------------------
diff --git a/tapestry-core/build.gradle b/tapestry-core/build.gradle
index 0654cbb..99b6e10 100644
--- a/tapestry-core/build.gradle
+++ b/tapestry-core/build.gradle
@@ -25,6 +25,8 @@ dependencies {
compile "commons-codec:commons-codec:1.10"
testRuntime "org.hsqldb:hsqldb:1.8.0.10"
+
+ testRuntime 'com.google.inject:guice:3.0'
}
task preprocessCoffeeScript(type: PreprocessCoffeeScript) {
[2/2] tapestry-5 git commit: add a testRuntime dependency on guice to
fix a ClassNotFoundException when Groovy initializes our test classes
Posted by jk...@apache.org.
add a testRuntime dependency on guice to fix a ClassNotFoundException when Groovy initializes our test classes
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/da4dc29d
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/da4dc29d
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/da4dc29d
Branch: refs/heads/master
Commit: da4dc29d698bcb9a375ebe34e48779281b1c2b78
Parents: 2f1c8ee
Author: Jochen Kemnade <jo...@eddyson.de>
Authored: Tue Mar 17 10:46:51 2015 +0100
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Tue Mar 17 10:46:51 2015 +0100
----------------------------------------------------------------------
tapestry-core/build.gradle | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/da4dc29d/tapestry-core/build.gradle
----------------------------------------------------------------------
diff --git a/tapestry-core/build.gradle b/tapestry-core/build.gradle
index 0654cbb..99b6e10 100644
--- a/tapestry-core/build.gradle
+++ b/tapestry-core/build.gradle
@@ -25,6 +25,8 @@ dependencies {
compile "commons-codec:commons-codec:1.10"
testRuntime "org.hsqldb:hsqldb:1.8.0.10"
+
+ testRuntime 'com.google.inject:guice:3.0'
}
task preprocessCoffeeScript(type: PreprocessCoffeeScript) {