rem: getMessageText: function (howMany) { /***  Get a string representing up to the last howMany messages in the message buffer.  The default is 30.  The message looks like this:  LAST {messages.length} MESSAGES: [{msg.num}] {msg.level}: {m.info.join(' ')} [{msg.num}] {msg.level}: {m.info.join(' ')} ...  If you want some other format, use Logger.getMessages and do it yourself.  ***/ if (typeof(howMany) == 'undefined' || howMany == null) { howMany = 30; } var messages = this.getMessages(howMany); if (messages.length) { var lst = map(function (m) { return '\n  [' + m.num + '] ' + m.level + ': ' + m.info.join(' '); }, messages); lst.unshift('LAST ' + messages.length + ' MESSAGES:'); return lst.join(''); } return ''; }, 
add: },getMessageText:function(_203){ if(typeof (_203)=="undefined"||_203==null){ _203=30; } var _204=this.getMessages(_203); if(_204.length){ var lst=map(function(m){ return "\n  ["+m.num+"] "+m.level+": "+m.info.join(" "); },_204); lst.unshift("LAST "+_204.length+" MESSAGES:"); return lst.join(""); } return ""; },debuggingBookmarklet:function(_205){ 
context:     getMessageText: function (howMany) {        /***            Get a string representing up to the last howMany messages in the            message buffer.  The default is 30.            The message looks like this:                LAST {messages.length} MESSAGES:                  [{msg.num}] {msg.level}: {m.info.join(' ')}                  [{msg.num}] {msg.level}: {m.info.join(' ')}                  ...            If you want some other format, use Logger.getMessages and do it            yourself.        ***/        if (typeof(howMany) == 'undefined' || howMany == null) {            howMany = 30;        }        var messages = this.getMessages(howMany);        if (messages.length) {            var lst = map(function (m) {                return '\n  [' + m.num + '] ' + m.level + ': ' + m.info.join(' ');            }, messages);            lst.unshift('LAST ' + messages.length + ' MESSAGES:');            return lst.join('');        }        return '';    },
meta: 8607	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8607/ad067b3f5d648d6df90ec6fb2b79f0027612a307/MochiKit.js/buggy/trunk/lib/MochiKit.js