Avoid using arguments.callee in string.js.

This commit is contained in:
Tobie Langel 2008-12-11 04:28:35 +01:00
parent 1cda280a72
commit 1d617df4df
1 changed files with 2 additions and 3 deletions

View File

@ -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() {