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 2014/04/26 14:06:26 UTC

[03/10] git commit: TAP5-2246: Use CofeeScript list comprehension to log init arguments, fixes JavaScript error in IE8

TAP5-2246: Use CofeeScript list comprehension to log init arguments, fixes JavaScript error in IE8


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

Branch: refs/heads/master
Commit: d8ec30d41b9e38f04d4dde7b2352c38eed1972c0
Parents: 87881e4
Author: Jochen Kemnade <jo...@web.de>
Authored: Sat Apr 26 12:55:44 2014 +0200
Committer: Jochen Kemnade <jo...@web.de>
Committed: Sat Apr 26 12:55:44 2014 +0200

----------------------------------------------------------------------
 .../src/main/coffeescript/META-INF/modules/t5/core/pageinit.coffee | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/d8ec30d4/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/pageinit.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/pageinit.coffee b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/pageinit.coffee
index f2a4811..1161335 100644
--- a/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/pageinit.coffee
+++ b/tapestry-core/src/main/coffeescript/META-INF/modules/t5/core/pageinit.coffee
@@ -102,7 +102,7 @@ define ["underscore", "./console", "./dom", "./events"],
           throw new Error "Could not locate function `#{qualifiedName}'."
 
         if console.debugEnabled
-          argsString = _.map(initArguments, JSON.stringify).join(", ")
+          argsString = (JSON.stringify arg for arg in initArguments).join(", ")
           console.debug "Invoking #{qualifiedName}(#{argsString})"
 
         fn.apply null, initArguments