mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 14:33:59 +00:00
Fix minor bug in ve.log
This commit is contained in:
parent
70b8c92660
commit
81375698a2
|
@ -8,7 +8,7 @@
|
|||
* @param {Mixed} [...] Data to log
|
||||
*/
|
||||
ve.log = window.console && window.ve.log ?
|
||||
Function.prototype.bind.call( ve.log, console ) : ve.log;
|
||||
Function.prototype.bind.call( console.log, console ) : ve.log;
|
||||
|
||||
/**
|
||||
* Logs an object to the console.
|
||||
|
|
Loading…
Reference in a new issue