Here is an example of a .jade
file
:doc
@name Toolbar
@props {Boolean} [left]
@props {Boolean} [center]
@props {Boolean} [right]
import './index.ess'
var classFn = this.composeClasses('Toolbar')
.Toolbar(className=classFn())
div(className=classFn('&-inner'))
if props.left
div(className=classFn('&-left'))
yield left
if props.center
div(className=classFn('&-center'))
yield center
if props.right
div(className=classFn('&-right'))
yield right
:module
export var mixins = [require('ui-kit/mixins/compose-classes')]
I haven’t tried updating my js syntax, i’ll try that now. Is there a way to reset the state on ST? i can’t open it currently because of the feature of re-opening files where i left off, so it re-opens a file that it is hanging on, and all i can do is force quit.
(FYI, i’m on OSX El Capitan)