mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-22 23:27:30 +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) {
|
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());
|
let str = RegExp.prototype.toString.call(obj.unsafeDereference());
|
||||||
grip.displayString = hooks.createValueGrip(str);
|
grip.displayString = hooks.createValueGrip(str);
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue