Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #9674 from le717/issue-9666
Browse files Browse the repository at this point in the history
Fix TypeError in QuickOpen
  • Loading branch information
ingorichter committed Oct 25, 2014
2 parents 2dd3f1d + 5be15d2 commit 252b40a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions src/extensions/default/QuickOpenCSS/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ define(function (require, exports, module) {
var EditorManager = brackets.getModule("editor/EditorManager"),
QuickOpen = brackets.getModule("search/QuickOpen"),
CSSUtils = brackets.getModule("language/CSSUtils"),
DocumentManager = brackets.getModule("document/DocumentManager");
DocumentManager = brackets.getModule("document/DocumentManager"),
StringMatch = brackets.getModule("utils/StringMatch");


/**
Expand Down Expand Up @@ -73,7 +74,7 @@ define(function (require, exports, module) {
});

// Sort based on ranking & basic alphabetical order
QuickOpen.basicMatchSort(filteredList);
StringMatch.basicMatchSort(filteredList);

return filteredList;
}
Expand Down
5 changes: 3 additions & 2 deletions src/extensions/default/QuickOpenHTML/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ define(function (require, exports, module) {

var EditorManager = brackets.getModule("editor/EditorManager"),
QuickOpen = brackets.getModule("search/QuickOpen"),
DocumentManager = brackets.getModule("document/DocumentManager");
DocumentManager = brackets.getModule("document/DocumentManager"),
StringMatch = brackets.getModule("utils/StringMatch");


/**
Expand Down Expand Up @@ -107,7 +108,7 @@ define(function (require, exports, module) {
});

// Sort based on ranking & basic alphabetical order
QuickOpen.basicMatchSort(filteredList);
StringMatch.basicMatchSort(filteredList);

return filteredList;
}
Expand Down
5 changes: 3 additions & 2 deletions src/extensions/default/QuickOpenJavaScript/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ define(function (require, exports, module) {
var EditorManager = brackets.getModule("editor/EditorManager"),
QuickOpen = brackets.getModule("search/QuickOpen"),
JSUtils = brackets.getModule("language/JSUtils"),
DocumentManager = brackets.getModule("document/DocumentManager");
DocumentManager = brackets.getModule("document/DocumentManager"),
StringMatch = brackets.getModule("utils/StringMatch");


/**
Expand Down Expand Up @@ -100,7 +101,7 @@ define(function (require, exports, module) {
});

// Sort based on ranking & basic alphabetical order
QuickOpen.basicMatchSort(filteredList);
StringMatch.basicMatchSort(filteredList);

return filteredList;
}
Expand Down

0 comments on commit 252b40a

Please sign in to comment.