Open dmzkrsk opened 7 years ago
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.
file.data
(key, value)
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.
rawGlobals
rawDefine
define
The option is deleted after it has been used.
Looks a bit broken. Will fix
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 howfile.data
is treated. When this option is set,rawDefine
property is get set instead ofdefine
.The option is deleted after it has been used.