Dart language text support

Currently Google Dart source files are not treated as text files, meaning they're uploaded using the currently selected file uploader. This fixes the issues.
This commit is contained in:
Ray 2016-08-19 18:45:33 -05:00 committed by GitHub
parent 603ca595c1
commit 6e26fc80c0

View file

@ -63,7 +63,7 @@ public static class Helpers
public const string ValidURLCharacters = URLPathCharacters + ":?#[]@!$&'()*+,;= ";
public static readonly string[] ImageFileExtensions = new string[] { "jpg", "jpeg", "png", "gif", "bmp", "ico", "tif", "tiff" };
public static readonly string[] TextFileExtensions = new string[] { "txt", "log", "nfo", "c", "cpp", "cc", "cxx", "h", "hpp", "hxx", "cs", "vb", "html", "htm", "xhtml", "xht", "xml", "css", "js", "php", "bat", "java", "lua", "py", "pl", "cfg", "ini" };
public static readonly string[] TextFileExtensions = new string[] { "txt", "log", "nfo", "c", "cpp", "cc", "cxx", "h", "hpp", "hxx", "cs", "vb", "html", "htm", "xhtml", "xht", "xml", "css", "js", "php", "bat", "java", "lua", "py", "pl", "cfg", "ini", "dart" };
public static readonly Version OSVersion = Environment.OSVersion.Version;
@ -1129,4 +1129,4 @@ public static Cursor CreateCursor(byte[] data)
}
}
}
}
}