mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Language now encapsulates its properties and makes them accessible exclusively through getters and setters
Adjust the unit tests accordingly Added documentation to Language's properties Refined the comment about our special HTML MIME mode Renamed fileExtensionsToLanguageMap to fileExtensionToLanguageMap
This commit is contained in:
1 parent
37be3d98b8
commit
8793b2afbc
7 files changed
+206
-87
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.getLanguageForFileExtension(entry.fullPath).mode;
|
||||
var mode = LanguageManager.getLanguageForFileExtension(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