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

Fix TypeError in QuickOpen #9674

Merged
merged 1 commit into from
Oct 25, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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