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

Remove CollectionUtils and StringUtils.htmlEscape() #8960

Merged
merged 3 commits into from
Oct 21, 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
2 changes: 0 additions & 2 deletions src/brackets.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,6 @@ define(function (require, exports, module) {
require("extensibility/ExtensionManagerDialog");
require("editor/ImageViewer");

// Deprecated modules loaded just so extensions can still use them for now
require("utils/CollectionUtils");
// Compatibility shims for filesystem API migration
require("project/FileIndexManager");
require("file/NativeFileSystem");
Expand Down
94 changes: 0 additions & 94 deletions src/utils/CollectionUtils.js

This file was deleted.

9 changes: 0 additions & 9 deletions src/utils/StringUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,6 @@ define(function (require, exports, module) {
});
}

/**
* @deprecated Use lodash `escape()` instead.
*/
function htmlEscape(str) {
console.warn("StringUtils.htmlEscape is deprecated. Use _.escape instead.");
return _.escape(str);
}

function regexEscape(str) {
return str.replace(/([.?*+\^$\[\]\\(){}|\-])/g, "\\$1");
}
Expand Down Expand Up @@ -221,7 +213,6 @@ define(function (require, exports, module) {

// Define public API
exports.format = format;
exports.htmlEscape = htmlEscape;
exports.regexEscape = regexEscape;
exports.jQueryIdEscape = jQueryIdEscape;
exports.getLines = getLines;
Expand Down