Skip to content

Commit

Permalink
MozRepl: deactivated content() shortcut because of problems with XPCN…
Browse files Browse the repository at this point in the history
…ativeWrappers.

darcs-hash:20060524214923-8cc29-14477331a3e4d6fdee4d38f9812e03def7a7abf1.gz
  • Loading branch information
bard committed May 24, 2006
1 parent cefd076 commit 119e7ee
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions chrome/content/mozrepl/repl.js
Expand Up @@ -160,13 +160,13 @@ function back() {
back.doc =
'Returns to the previous context.';


function content() {
if(this._hostContext['content'])
return this.enter(this._hostContext['content']);
}
content.doc =
'If the current context has a "content" object, enters it.';
// This messes with XPCNativeWrappers somehow, while repl.enter(content) is fine
//function content() {
// if(this._hostContext['content'])
// return this.enter(this._hostContext['content']);
//}
//content.doc =
// 'If the current context has a "content" object, enters it.';


function home() {
Expand Down

0 comments on commit 119e7ee

Please sign in to comment.