Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn user if they are applying a style to a view that was never: build, create, or append #263

Open
twerth opened this issue May 8, 2015 · 4 comments

Comments

@twerth
Copy link
Member

twerth commented May 8, 2015

No description provided.

@squidpunch
Copy link
Contributor

@twerth do you mean apply_style(:blah) should show a warning? Or something else? I could spend some time implementing this, but I want to be sure what's the specification!

@twerth
Copy link
Member Author

twerth commented Jun 20, 2015

yes, if the view isn't built, meaning build, create, or append. Because if it's not, it may not have the correct stylesheet, etc. This causes problems for some people.

@GantMan
Copy link
Member

GantMan commented Jun 20, 2015

👍

@squidpunch
Copy link
Contributor

hrmm interesting, I often build with a style, then based on some activity on the view apply a new style (which wouldnt be built). Wonder if its worth allowing a setting to quiet this warning if you dont want to see it - because I could see having this warning pop up a few places in my app because of how I am currently using it (but correctly....or at least in my opinion its correctly...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants