mediawiki-extensions-Visual.../modules/ve/ve.debug.js
Catrope 6afed5e5cc Move ve2/ back to ve/
Change-Id: Ie51d8e48171fb1f84045d1560ee603cee62b91f6
2012-06-19 18:20:28 -07:00

24 lines
620 B
JavaScript

/**
* Logs data to the console.
*
* This implementation does nothing, to add a real implmementation ve.debug needs to be loaded.
*
* @static
* @method
* @param {Mixed} [...] Data to log
*/
ve.log = window.console && window.ve.log ?
Function.prototype.bind.call( console.log, console ) : ve.log;
/**
* Logs an object to the console.
*
* This implementation does nothing, to add a real implmementation ve.debug needs to be loaded.
*
* @static
* @method
* @param {Object} obj Object to log
*/
ve.dir = window.console && window.console.dir ?
Function.prototype.bind.call( console.dir, console ) : ve.dir;