[Pkg-javascript-commits] [sockjs-client] 233/434: Don't use console.log, use log instead. Reload iframe every time (ie: disable caching)

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Wed Jan 8 00:47:16 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository sockjs-client.

commit 2c8e35113fc02f96fff255441cbb4c90d5171362
Author: Marek Majkowski <majek04 at gmail.com>
Date:   Thu Dec 1 11:45:49 2011 +0000

    Don't use console.log, use log instead. Reload iframe every time (ie: disable caching)
---
 tests/html/src/domtests.coffee | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/html/src/domtests.coffee b/tests/html/src/domtests.coffee
index b1b36ba..a3e9646 100644
--- a/tests/html/src/domtests.coffee
+++ b/tests/html/src/domtests.coffee
@@ -6,8 +6,8 @@ newIframe = ->
     document.domain = document.domain
     hook = u.createHook()
     err = ->
-        console.log('iframe error. bad.')
-    hook.iobj = u.createIframe('/iframe.html#' + hook.id, err)
+        log('iframe error. bad.')
+    hook.iobj = u.createIframe('/iframe.html?a=' + Math.random() + '#' + hook.id, err)
     return hook
 
 if navigator.userAgent.indexOf('Konqueror') isnt -1 or $.browser.opera

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/sockjs-client.git



More information about the Pkg-javascript-commits mailing list