tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject [3/16] git commit: Temporarily disable the floating console until dependencies are straightened out
Date Fri, 06 Jul 2012 00:38:00 GMT
Temporarily disable the floating console until dependencies are straightened out


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

Branch: refs/heads/5.4-js-rewrite
Commit: 1ddc3a6b19d3f0e97df209051d6c59d0a3bf290e
Parents: 7714088
Author: Howard M. Lewis Ship <hlship@apache.org>
Authored: Thu Jul 5 17:34:57 2012 -0700
Committer: Howard M. Lewis Ship <hlship@apache.org>
Committed: Thu Jul 5 17:34:57 2012 -0700

----------------------------------------------------------------------
 .../tapestry5/corelib/modulejs/console.coffee      |   36 ++++++++-------
 1 files changed, 19 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/1ddc3a6b/tapestry-core/src/main/coffeescript/org/apache/tapestry5/corelib/modulejs/console.coffee
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/coffeescript/org/apache/tapestry5/corelib/modulejs/console.coffee
b/tapestry-core/src/main/coffeescript/org/apache/tapestry5/corelib/modulejs/console.coffee
index d8d8802..2f83331 100644
--- a/tapestry-core/src/main/coffeescript/org/apache/tapestry5/corelib/modulejs/console.coffee
+++ b/tapestry-core/src/main/coffeescript/org/apache/tapestry5/corelib/modulejs/console.coffee
@@ -26,25 +26,27 @@ define ->
   catch e
 
   display = (className, message) ->
-    # TODO: Dependency on Prototype here
 
-    unless floatingConsole
-      floatingConsole = new Element "div", class: "t-console"
-      $(document.body).insert top: floatingConsole
+    # Disable the floating console temporarily, since we have to resolve the tangle of dependencies
+    # related to loading vs. the core stack, etc.
 
-    div = new Element "div", class: "t-console-entry #{className}"
-    div.update(message).hide()
-    floatingConsole.insert top:div
-
-    new Effect.Appear div, duration: .25
-
-    fade = new Effect.Fade div,
-      delay: exports.DURATION
-      afterFinish: -> div.remove()  # was T5.dom.remove(div)
-
-    div.observe "click", ->
-      fade.cancel()
-      div.remove() # was T5.dom.remove(div)
+#    unless floatingConsole
+#      floatingConsole = new Element "div", class: "t-console"
+#      $(document.body).insert top: floatingConsole
+#
+#    div = new Element "div", class: "t-console-entry #{className}"
+#    div.update(message).hide()
+#    floatingConsole.insert top:div
+#
+#    new Effect.Appear div, duration: .25
+#
+#    fade = new Effect.Fade div,
+#      delay: exports.DURATION
+#      afterFinish: -> div.remove()  # was T5.dom.remove(div)
+#
+#    div.observe "click", ->
+#      fade.cancel()
+#      div.remove() # was T5.dom.remove(div)
 
   level = (className, consolefn) ->
     (message) ->


Mime
View raw message