From b4b9550d715de177c55581c6f38368f213fedaa3 Mon Sep 17 00:00:00 2001 From: Marco Dickert Date: Wed, 26 Jul 2017 16:16:32 +0200 Subject: [PATCH] remove some debug outputs --- build/libifm.php | 3 --- ifm.php | 3 --- src/ifm.js | 2 -- src/ifmarchive.php | 1 - 4 files changed, 9 deletions(-) diff --git a/build/libifm.php b/build/libifm.php index b0521ba..76b6388 100644 --- a/build/libifm.php +++ b/build/libifm.php @@ -2056,14 +2056,12 @@ function IFM( params ) { $(document).on( 'dragover', function( e ) { e.preventDefault(); e.stopPropagation(); - console.log( e ); $('#filedropoverlay').css( 'display', 'block' ); }); $( '#filedropoverlay' ) .on( 'drop', function( e ) { e.preventDefault(); e.stopPropagation(); - console.log( e ); var files = e.originalEvent.dataTransfer.files; for( var i = 0; i < files.length; i++ ) { self.uploadFile( files[i] ); @@ -3078,7 +3076,6 @@ class IFMArchive { if( ! file_exists( $file ) ) return false; $tar = new PharData( $file ); - file_put_contents( "debug.txt", "Exist: asparagus?" . ( file_exists( "asparagus") ? "yes" : "no" ) ); try { $tar->extractTo( $destination, null, true ); return true; diff --git a/ifm.php b/ifm.php index 38e563a..557aaf3 100644 --- a/ifm.php +++ b/ifm.php @@ -2056,14 +2056,12 @@ function IFM( params ) { $(document).on( 'dragover', function( e ) { e.preventDefault(); e.stopPropagation(); - console.log( e ); $('#filedropoverlay').css( 'display', 'block' ); }); $( '#filedropoverlay' ) .on( 'drop', function( e ) { e.preventDefault(); e.stopPropagation(); - console.log( e ); var files = e.originalEvent.dataTransfer.files; for( var i = 0; i < files.length; i++ ) { self.uploadFile( files[i] ); @@ -3078,7 +3076,6 @@ class IFMArchive { if( ! file_exists( $file ) ) return false; $tar = new PharData( $file ); - file_put_contents( "debug.txt", "Exist: asparagus?" . ( file_exists( "asparagus") ? "yes" : "no" ) ); try { $tar->extractTo( $destination, null, true ); return true; diff --git a/src/ifm.js b/src/ifm.js index 1f77184..d5a4680 100644 --- a/src/ifm.js +++ b/src/ifm.js @@ -1317,14 +1317,12 @@ function IFM( params ) { $(document).on( 'dragover', function( e ) { e.preventDefault(); e.stopPropagation(); - console.log( e ); $('#filedropoverlay').css( 'display', 'block' ); }); $( '#filedropoverlay' ) .on( 'drop', function( e ) { e.preventDefault(); e.stopPropagation(); - console.log( e ); var files = e.originalEvent.dataTransfer.files; for( var i = 0; i < files.length; i++ ) { self.uploadFile( files[i] ); diff --git a/src/ifmarchive.php b/src/ifmarchive.php index 797d528..55ae23c 100644 --- a/src/ifmarchive.php +++ b/src/ifmarchive.php @@ -78,7 +78,6 @@ class IFMArchive { if( ! file_exists( $file ) ) return false; $tar = new PharData( $file ); - file_put_contents( "debug.txt", "Exist: asparagus?" . ( file_exists( "asparagus") ? "yes" : "no" ) ); try { $tar->extractTo( $destination, null, true ); return true;