batiste / pug-vdom

PUG template to HyperScript Virtual DOM
MIT License
18 stars 6 forks source link

changed name of context object to locals #2

Closed gryphonmyers closed 7 years ago

gryphonmyers commented 7 years ago

Pug allows locals to be accessed as floating variables or as members of an object called "locals." I aliased the context object to it. Apparently there is also an option to access them in a "self" object so I aliased it to that as well.