Parcourir la source

changing allowed file types

Nate Stemen il y a 9 ans
Parent
commit
ac9e27713d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      services/web/public/coffee/ide/files/services/files.coffee

+ 1 - 1
services/web/public/coffee/ide/files/services/files.coffee

@@ -8,7 +8,7 @@ define [
 			getTeXFiles: () ->
 			getTeXFiles: () ->
 				texFiles = []
 				texFiles = []
 				ide.fileTreeManager.forEachEntity (entity, folder, path) ->
 				ide.fileTreeManager.forEachEntity (entity, folder, path) ->
-					if entity.type == 'doc' && entity?.name?.match?(/.*\.(tex|sty|cls|dtx|ltx|def)/)
+					if entity.type == 'doc' && entity?.name?.match?(/.*\.(tex|txt|md)/)
 						cloned = _.clone(entity)
 						cloned = _.clone(entity)
 						cloned.path = path
 						cloned.path = path
 						texFiles.push cloned
 						texFiles.push cloned