mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 03:24:13 +01:00
Co-opt :js! for REPL. Add optional context argument. Add docs. Fix history bug.
This commit is contained in:
@@ -402,7 +402,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
if (info && info.file[0] !== "[")
|
||||
({ file: fileName, line: lineNumber, context: ctxt }) = info;
|
||||
|
||||
if (!context)
|
||||
if (!context && fileName && fileName[0] !== "[")
|
||||
context = _userContext || ctxt;
|
||||
|
||||
if (isinstance(context, ["Sandbox"]))
|
||||
|
||||
Reference in New Issue
Block a user