-
Notifications
You must be signed in to change notification settings - Fork 51
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
how to use options.self=true in pugjs? #142
Comments
Any details? How to reproduce your issue? How is this related to pug-lint? |
@Tiliavir , just options.self = true, how to use. no other problem. can you showcase this? pug document don't details about it! |
This is pug-lint not pugjs - I can't find a single reference for "self" in the pug-lint repository. Where did you find that option? What did you expect it to do? |
As I said: this issue was created in the wrong repository and should be closed! This is where it should have been created: https://github.com/pugjs/pug And the documentation is quite clear, no? Set self to true, and variables in the scope are not accessible directly, but as a member of the "self" variable ... E.g. refering to those "locals" mentioned below your screenshot - a sample could look like this:
If set to self is set to true, you cant use |
No description provided.
The text was updated successfully, but these errors were encountered: