renamed "getLanguageFromPath" to "getLanguageForPath"

This commit is contained in:
Mark Murphy committed 2013-03-06 22:01:24 -04:00
1 parent f9d9c2f64e
commit 30e9ca54c1
4 files changed
+8 -8

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.getLanguageFromPath(entry.fullPath).getMode();
var mode = LanguageManager.getLanguageForPath(entry.fullPath).getMode();
if (mode === HintUtils.MODE_NAME) {
DocumentManager.getDocumentForPath(path).done(function (document) {
refreshOuterScope(dir, file, document.getText());