Closed colinta closed 12 years ago
this spec wouldn't pass anymore:
imported_anonymously = Teacup::Stylesheet.new do
style :label,
title: "Imported anonymously"
end
@anonymous_importer = Teacup::Stylesheet.new do
import imported_anonymously
style :label,
backgroundColor: :blue
end
how do we feel about that?
Can someone try and reproduce this bug?
If I set
font: UIFont.systemFontOfSize(17)
in a stylesheet, the simulator crashes.If, instead, I move the
instance_eval &block
code in stylesheet.rb to the query method, it works fine.Very odd, and I don't like the fix, but if this is happening elsewhere, it'll have to stay in some form. O_o?