Fix debugger variables

I broke this in b2267d569b

This fix is gross, but I'm just trying to move forward.
This commit is contained in:
Jordan Eldredge 2019-08-05 18:58:22 -07:00
parent 931ba4d8ca
commit 42a409f339

View file

@ -12,7 +12,8 @@ export default function Variable({ variable }) {
if (obj == null) {
type = "Unknown object";
} else {
type = obj.getclassname();
// Bit of a hack. We should probably fix this.
type = obj.prototype.getclassname();
}
break;
}