Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Support new classes
  • Loading branch information
ianthomas23 committed May 16, 2025
commit 3686b58f218a590cc00bc9944034d8ccd04d1c44
1 change: 1 addition & 0 deletions bokehjs/test/integration/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export class FlexDiv extends UIElement {

constructor(attrs?: Partial<FlexDiv.Attrs>) {
super(attrs)
this.maybe_initialize(FlexDiv.__name__, attrs)
}

static {
Expand Down
12 changes: 12 additions & 0 deletions bokehjs/test/integration/regressions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3191,6 +3191,11 @@ describe("Bug", () => {
class CustomFigure extends Figure {
declare __view_type__: CustomFigureView

constructor(attrs?: Partial<Figure.Attrs>) {
super(attrs)
this.maybe_initialize(CustomFigure.__name__, attrs)
}

static {
this.prototype.default_view = CustomFigureView
}
Expand Down Expand Up @@ -3908,6 +3913,12 @@ describe("Bug", () => {
}
class MapFigure extends Figure {
declare __view_type__: MapFigureView

constructor(attrs?: Partial<Figure.Attrs>) {
super(attrs)
this.maybe_initialize(MapFigure.__name__, attrs)
}

override use_map = true
static {
this.prototype.default_view = MapFigureView
Expand Down Expand Up @@ -4243,6 +4254,7 @@ describe("Bug", () => {

constructor(attrs?: Partial<FooAttrs>) {
super(attrs)
this.maybe_initialize(Foo.__name__, attrs)
}

static {
Expand Down