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 #8960 from le717/remove-collection-utils
Browse files Browse the repository at this point in the history
Remove CollectionUtils and StringUtils.htmlEscape()
  • Loading branch information
ingorichter committed Oct 21, 2014
2 parents 451fd32 + 297e6a7 commit 9400017
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 105 deletions.
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

0 comments on commit 9400017

Please sign in to comment.