File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,22 +25,10 @@ if ( Math.sign === undefined ) {
2525}
2626
2727
28- THREE . ConsoleErrorHandler = function ( ) {
29- console . error ( arguments ) ;
30- } ;
31-
32- THREE . ConsoleWarningHandler = function ( ) {
33- console . warn ( arguments ) ;
34- } ;
35-
36- THREE . ConsoleLogHandler = function ( ) {
37- console . log ( arguments ) ;
38- } ;
39-
40- // set the default error handlers
41- THREE . error = THREE . ConsoleErrorHandler ;
42- THREE . warning = THREE . ConsoleWarningHandler ;
43- THREE . log = THREE . ConsoleLogHandler ;
28+ // set the default log handlers
29+ THREE . error = function ( ) { console . error . apply ( console , arguments ) ; }
30+ THREE . warning = function ( ) { console . warn . apply ( console , arguments ) ; }
31+ THREE . log = function ( ) { console . log . apply ( console , arguments ) ; }
4432
4533
4634// https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent.button
You can’t perform that action at this time.
0 commit comments