diff --git a/src/lang/string.js b/src/lang/string.js index f50e570..587c944 100644 --- a/src/lang/string.js +++ b/src/lang/string.js @@ -83,9 +83,8 @@ Object.extend(String.prototype, (function() { } function escapeHTML() { - var self = arguments.callee; - self.text.data = this; - return self.div.innerHTML; + escapeHTML.text.data = this; + return escapeHTML.div.innerHTML; } function unescapeHTML() {