mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Refactoring "getLanguageFromFilePath" to "getLanguageFromPath". Reverted language.name back to language._name
Removed typescript and makefile declarations from languages.json. Will save for a later pull-request.
This commit is contained in:
1 parent
ea110a3194
commit
f9d9c2f64e
5 files changed
+16
-30
No files matched your search
@@ -440,7 +440,7 @@ define(function (require, exports, module) {
|
||||
file = split.file;
|
||||
|
||||
if (file.indexOf(".") > 1) { // ignore /.dotfiles
|
||||
var mode = LanguageManager.getLanguageFromFilePath(entry.fullPath).getMode();
|
||||
var mode = LanguageManager.getLanguageFromPath(entry.fullPath).getMode();
|
||||
if (mode === HintUtils.MODE_NAME) {
|
||||
DocumentManager.getDocumentForPath(path).done(function (document) {
|
||||
refreshOuterScope(dir, file, document.getText());
|
||||
|
||||
Reference in new issue
Block a user