Just updated to 1.12 and Classes don't seem to be working anymore. Created a simple example but getting no errors. Open in old Framer Studio and you get a white box, new Framer Studio nothing. New way to write Classes that I missed or bug?
Having the same problem here. Looks like there is an error being thrown, however, in the console:
[Error] TypeError: undefined is not an object (evaluating 'result.error.location.first_line') uncoffee (framer.generated.js, line 690) compile (framer.generated.js, line 656) global code (.temp.html, line 1)"
I noticed that omitting a `constructor` declaration makes the subclass work ... in other words, this works:
class MyLayer extends Layernew MyLayer
Might be redundant, but here is another offending project: http://share.framerjs.com/lvskowdwz1vy/
cc Edwin Van Rijkom
Ok yeah this is a bug with us reading out information about your variable names. We're on it.
We just fixed these in the beta. Let us know if you run into other issues and we'll push it to stable.
This is not new to 1.12, I've been having this issue for weeks. I saw Koen's response and immediately updated Framer Beta. I can confirm that this new build (beta/652a806) works! (For me, the issue appeared whenever I added a 'constructor' declaration).
Great, I'll push this to stable.
Works like a charm. Thanks for the fast response, Koen!