classy-mst icon indicating copy to clipboard operation
classy-mst copied to clipboard

Type Tag not present in subclass

Open philllies opened this issue 5 years ago • 1 comments

I tried to reproduce the polymorphism example from the readme. While subclassing appears to be working correctly, there is no $, nor any other property that would tag the subclass with the string I provide as third argument to mst, e.g., mst(code, model, "mysubclass).

Any idea why this is not working as intended?

philllies avatar Aug 25 '19 23:08 philllies

Did you pass the parent class prototype as the second parameter to shim?

jjrv avatar Oct 18 '19 05:10 jjrv