mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
parent
e671c0357b
commit
6e997648ba
1 changed files with 0 additions and 5 deletions
|
|
@ -1158,11 +1158,6 @@ DebuggerServer.ObjectActorPreviewers = {
|
|||
}],
|
||||
|
||||
RegExp: [function ({obj, hooks}, grip) {
|
||||
// Avoid having any special preview for the RegExp.prototype itself.
|
||||
if (!obj.proto || obj.proto.class != "RegExp") {
|
||||
return false;
|
||||
}
|
||||
|
||||
let str = RegExp.prototype.toString.call(obj.unsafeDereference());
|
||||
grip.displayString = hooks.createValueGrip(str);
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue