Ace.Tern
Ace.Tern copied to clipboard
Use Ace Libraries where possible
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, "&").replace(/"/g, """).replace(/'/g, "'").replace(/</g, "<");
};
- dom lib