source:
branches/feature-module-update/html/test/kakinaka/yui/js/log.js
@
12157
Revision 12157, 345 bytes checked in by uehara, 17 years ago (diff) |
---|
Line | |
---|---|
1 | // Adapter for YAHOO.widget.Logger |
2 | |
3 | var ygLogger = function(module) { |
4 | return new YAHOO.widget.LogWriter(module); |
5 | }; |
6 | |
7 | YAHOO.widget.LogWriter.prototype.debug = function() { |
8 | this.log.apply(this, arguments); |
9 | }; |
10 | |
11 | ygLogger.init = function(div) { |
12 | new YAHOO.widget.LogReader(div, { |
13 | height: "400px" |
14 | }); |
15 | }; |
Note: See TracBrowser
for help on using the repository browser.