Преглед изворни кода

changing allowed file types

Nate Stemen пре 9 година
родитељ
комит
ac9e27713d
1 измењених фајлова са 1 додато и 1 уклоњено
  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: () ->
 				texFiles = []
 				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.path = path
 						texFiles.push cloned