File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 4545_rdata = / ^ d a t a : [ ^ , ] + , / ,
4646
4747_toString = { } . toString ,
48+ _supportConsoleLog ,
49+ _supportConsoleLogApply ,
4850
4951
5052Math = window . Math ,
249251} ,
250252
251253log : function ( ) {
252- if ( api . debug && window . console && console . log ) {
253- if ( console . log . apply ) {
254+ if ( api . debug && _supportConsoleLog ) {
255+ if ( _supportConsoleLogApply ) {
254256console . log . apply ( console , arguments ) ;
255257}
256258else {
17931795} ) ;
17941796
17951797
1796- // @configuration
1798+ // Configuration
1799+ try {
1800+ _supportConsoleLog = ! ! console . log ;
1801+ _supportConsoleLogApply = ! ! console . log . apply ;
1802+ }
1803+ catch ( err ) { }
1804+
17971805if ( ! api . flashUrl ) { api . flashUrl = api . staticPath + 'FileAPI.flash.swf' ; }
17981806if ( ! api . flashImageUrl ) { api . flashImageUrl = api . staticPath + 'FileAPI.flash.image.swf' ; }
17991807if ( ! api . flashWebcamUrl ) { api . flashWebcamUrl = api . staticPath + 'FileAPI.flash.camera.swf' ; }
You can’t perform that action at this time.
0 commit comments