r9696 - helma-ng/trunk/modules/helma
[email protected] Mon, 4 May 2009 11:07:21 +0200 (CEST)
| Newsgroups | gmane.comp.java.helma.cvs |
|---|---|
| Message-ID | <20090504090721.C597B3D0D6@mia> |
Author: hannes
Date: 2009-05-04 11:07:21 +0200 (Mon, 04 May 2009)
New Revision: 9696
Modified:
helma-ng/trunk/modules/helma/buffer.js
Log:
Remove firebug console hack from helma/buffer
Details at http://dev.helma.org/trac/helma/changeset/9696
Modified: helma-ng/trunk/modules/helma/buffer.js
===================================================================
--- helma-ng/trunk/modules/helma/buffer.js 2009-05-04 09:07:20 UTC (rev 9695)
+++ helma-ng/trunk/modules/helma/buffer.js 2009-05-04 09:07:21 UTC (rev 9696)
@@ -35,18 +35,6 @@
content.forEach(fn);
}
- // hack
- this.toFirebugConsole = function() {
- var enc = JSON.stringify(this.toString());
- return "<script>\r\n\
- if (console && typeof console.debug == 'function') {\r\n\
- console.info(" + enc + ");\r\n\
- } else {\r\n\
- document.write('<p>' + " + enc + " + '<p>');\r\n\
- }\r\n\
- </script>\r\n";
- }
-
if (arguments.length > 0) {
this.write.apply(this, arguments);
}