1
0
mirror of https://github.com/misterunknown/ifm.git synced 2025-08-16 04:53:59 +02:00

Added build for latest commit.

This commit is contained in:
Marco Dickert
2018-03-20 18:42:55 +01:00
parent 9e51792710
commit 2e1f72577c
2 changed files with 0 additions and 2 deletions

View File

@@ -1953,7 +1953,6 @@ function IFM( params ) {
self.editor.on("change", function() { self.fileChanged = true; }); self.editor.on("change", function() { self.fileChanged = true; });
if( self.inArray( "ext-modelist", self.ace.files ) ) { if( self.inArray( "ext-modelist", self.ace.files ) ) {
var mode = ace.require( "ace/ext/modelist" ).getModeForPath( filename ).mode; var mode = ace.require( "ace/ext/modelist" ).getModeForPath( filename ).mode;
console.log( "Modus (erkannt): "+mode );
if( self.inArray( mode, self.ace.modes.map( x => "ace/mode/"+x ) ) ) if( self.inArray( mode, self.ace.modes.map( x => "ace/mode/"+x ) ) )
self.editor.getSession().setMode( mode ); self.editor.getSession().setMode( mode );
} }

View File

@@ -1953,7 +1953,6 @@ function IFM( params ) {
self.editor.on("change", function() { self.fileChanged = true; }); self.editor.on("change", function() { self.fileChanged = true; });
if( self.inArray( "ext-modelist", self.ace.files ) ) { if( self.inArray( "ext-modelist", self.ace.files ) ) {
var mode = ace.require( "ace/ext/modelist" ).getModeForPath( filename ).mode; var mode = ace.require( "ace/ext/modelist" ).getModeForPath( filename ).mode;
console.log( "Modus (erkannt): "+mode );
if( self.inArray( mode, self.ace.modes.map( x => "ace/mode/"+x ) ) ) if( self.inArray( mode, self.ace.modes.map( x => "ace/mode/"+x ) ) )
self.editor.getSession().setMode( mode ); self.editor.getSession().setMode( mode );
} }