'companion'에 해당되는 글 1건

  1. 2007.10.23 IE용 콘솔입니다. Companion.JS

사용자 삽입 이미지

Companion.JS adds the useful Firebug "console" feature to Internet Explorer.

You can use "console.log(), console.debug(), ..." the same way you used it with Firebug.

Not all the functions are implemented so far on the version 0.2. The following functions are not yet implemented :

console.dir, console.trace, console.group, console.groupEnd, console.profile, console.profileEnd

console.log(object[, object, ...])

Logs the message on the console, all arguments joined by space. The first argument may be a string with a "printf"-like format.
Recognized patterns are :

%s String
%d , %i Integer (numeric formatting is not yet supported)
%f Floating point number (numeric formatting is not yet supported)
%o Object hyperlink

console.debug(object[, object, ...])

console.info(object[, object, ...])

console.warn(object[, object, ...])

console.error(object[, object, ...])

Log messages with custom icon depending on the function used.

console.assert(expression[, object, ...])

Test if the expression is true. If so, the info is logged in the console.


Log the HTML source if the requested node.



Stops a timer created by a call to console.time(name) and writes the time elapsed.

Posted by Rhio.kim