mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +09:00
Issue #2026 - Part 3b - Add BigInt Devtools support. (legacy frontend)
This commit is contained in:
parent
e861cd3b3a
commit
61efc86b21
2 changed files with 20 additions and 9 deletions
|
|
@ -1293,6 +1293,7 @@ Messages.Extended.prototype = extend(Messages.Simple.prototype, {
|
|||
{
|
||||
let map = {
|
||||
"number": "cm-number",
|
||||
"bigint": "cm-number",
|
||||
"longstring": "console-string",
|
||||
"string": "console-string",
|
||||
"regexp": "cm-string-2",
|
||||
|
|
@ -3364,6 +3365,15 @@ Widgets.ObjectRenderers.add({
|
|||
render: WrappedPrimitiveRenderer,
|
||||
});
|
||||
|
||||
/**
|
||||
* The widget used for displaying BigInt previews.
|
||||
*/
|
||||
Widgets.ObjectRenderers.add({
|
||||
byClass: "BigInt",
|
||||
|
||||
render: WrappedPrimitiveRenderer,
|
||||
});
|
||||
|
||||
/**
|
||||
* The widget used for displaying String previews.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue