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 2013/03/15 00:59:46 UTC
git commit: TAP5-2089: Don't return a value from the source function
for Typeahead
Updated Branches:
refs/heads/master d1b22c9ff -> 8c7d13299
TAP5-2089: Don't return a value from the source function for Typeahead
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/8c7d1329
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/8c7d1329
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/8c7d1329
Branch: refs/heads/master
Commit: 8c7d13299cc063e5c9b89217b59a666ac4c35925
Parents: d1b22c9
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Thu Mar 14 16:59:40 2013 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Thu Mar 14 16:59:40 2013 -0700
----------------------------------------------------------------------
.../META-INF/modules/t5/core/autocomplete.coffee | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/8c7d1329/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/autocomplete.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/autocomplete.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/autocomplete.coffee
index 590a055..c560a1c 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/autocomplete.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/autocomplete.coffee
@@ -34,7 +34,9 @@ define ["./dom", "./ajax", "jquery", "bootstrap"],
$field.typeahead
minLength: spec.minChars
- source: (query, process) -> doLookup $field, spec.url, query, process
+ source: (query, process) ->
+ doLookup $field, spec.url, query, process
+ return
- exports = init
\ No newline at end of file
+ exports = init