You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2012/10/25 23:41:59 UTC

[7/13] git commit: Fix a problem caused by an inadvertent extract function wrapper Add a temporary placeholder for T5.initializers.validate, until client-validation is rebuilt

Fix a problem caused by an inadvertent extract function wrapper
 Add a temporary placeholder for T5.initializers.validate, until client-validation is rebuilt


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

Branch: refs/heads/5.4-js-rewrite
Commit: bdb027322d66142a3d419236f3be3dcff40a6572
Parents: 22bccd5
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Thu Oct 25 11:41:57 2012 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Thu Oct 25 11:41:57 2012 -0700

----------------------------------------------------------------------
 .../coffeescript/META-INF/modules/core/init.coffee |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/bdb02732/tapestry-core/src/main/coffeescript/META-INF/modules/core/init.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/core/init.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/core/init.coffee
index ef81235..56bfe83 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/core/init.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/core/init.coffee
@@ -17,8 +17,14 @@
 # Compatibility module, invokes functions on the T5.initializers namespace.
 #
 # Introduced in 5.4, to be removed at some point in the future, when T5.initializers is itself no more.
-define ["core/console", "core/t53-compatibility"], ->
+define ["core/console", "core/t53-compatibility"],
+
   (console) ->
+
+    # Temporary, until we rework the client-side input validation.
+
+    T5.initializers.validate = ->
+
     # Exports a single function that finds an initializer in `T5.initializers` and invokes it.
     (initName, args...) ->
       fn = T5.initializers[initName]