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 2012/10/23 01:21:20 UTC
[3/6] git commit: Format consistently with other (more complex)
modules
Format consistently with other (more complex) modules
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/0fce4062
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/0fce4062
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/0fce4062
Branch: refs/heads/5.4-js-rewrite
Commit: 0fce40620092ad6de7280da04c7e6066900a55d6
Parents: e533347
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Mon Oct 22 16:10:30 2012 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Mon Oct 22 16:10:30 2012 -0700
----------------------------------------------------------------------
.../coffeescript/META-INF/modules/core/grid.coffee | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/0fce4062/tapestry-core/src/main/coffeescript/META-INF/modules/core/grid.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/core/grid.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/core/grid.coffee
index 8b33dd7..b98fb0a 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/core/grid.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/core/grid.coffee
@@ -19,14 +19,16 @@
# div[data-zone] around the table, and code here intercepts clicks on links that
# are inside a div[data-inplace-grid-links].
#
-define ["core/spi", "core/events"], (spi, events) ->
+define ["core/spi", "core/events"],
- spi.onDocument "[data-inplace-grid-links] a", ->
+ (spi, events) ->
- zone = this.findContainer "[data-zone]"
+ spi.onDocument "[data-inplace-grid-links] a", ->
- zone.trigger events.zone.refresh, url: this.attribute "href"
+ zone = this.findContainer "[data-zone]"
- return false
+ zone.trigger events.zone.refresh, url: this.attribute "href"
- return null
+ return false
+
+ return null