Skip to content

Conversation

@dmzkrsk
Copy link

@dmzkrsk dmzkrsk commented Nov 25, 2016

See #151, stylus/stylus#1286

Currenty file.data cannot be used for object variables, since they are treated by pairs of (key, value) by stylus.

This patch adds rawGlobals option, that changes how file.data is treated. When this option is set, rawDefine property is get set instead of define.

The option is deleted after it has been used.

@dmzkrsk
Copy link
Author

dmzkrsk commented Nov 25, 2016

Looks a bit broken. Will fix

@dmzkrsk dmzkrsk closed this Nov 25, 2016
@dmzkrsk dmzkrsk reopened this Nov 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant