Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Ace Libraries where possible #14

Open
Sevin777 opened this issue Dec 12, 2014 · 0 comments
Open

Use Ace Libraries where possible #14

Sevin777 opened this issue Dec 12, 2014 · 0 comments
Assignees

Comments

@Sevin777
Copy link
Owner

There is a lot of functionality that is using custom functions that can be replaced by Ace's built in libs. Examples:

  • escape html in ace/lib/lang
exports.escapeHTML = function(str) {
    return str.replace(/&/g, "&#38;").replace(/"/g, "&#34;").replace(/'/g, "&#39;").replace(/</g, "&#60;");
};
  • dom lib
@Sevin777 Sevin777 self-assigned this Dec 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant