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/03/25 00:19:54 UTC

[2/2] git commit: Correct invalid indentation (introduced by IDEA's commit dialog)

Correct invalid indentation (introduced by IDEA's commit dialog)


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

Branch: refs/heads/master
Commit: 8e1c5fdc9cd77f7d81bd9923c34532bcd18fa3ad
Parents: 2811ea1
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Mon Mar 24 16:19:44 2014 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Mon Mar 24 16:19:44 2014 -0700

----------------------------------------------------------------------
 .../main/coffeescript/META-INF/modules/t5/core/forms.coffee    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/8e1c5fdc/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/forms.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/forms.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/forms.coffee
index 3811091..dca7cf6 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/forms.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/forms.coffee
@@ -72,11 +72,11 @@ define ["./events", "./dom", "underscore"],
           # Ignore types file and submit; file doesn't make sense for Ajax, and submit
           # is handled by keeping a hidden field active with the data Tapestry needs
           # on the server.
-          return if type is "file" || type is "submit"
+          return if type is "file" or type is "submit"
 
-        return if (type is "checkbox" or type is "radio") and field.checked() is false
+          return if (type is "checkbox" or type is "radio") and field.checked() is false
 
-        value = field.value()
+          value = field.value()
 
         return if value is null