Avoid using arguments.callee in string.js.
This commit is contained in:
parent
1cda280a72
commit
1d617df4df
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue