Skip to content

Instantly share code, notes, and snippets.

@ericf ericf/gist:8444769
Last active Jan 3, 2016

Embed
What would you like to do?
app.expose('foo', 'window.foo');
console.log(res.locals.state); // => window.foo = "foo";
app.expose('bar', 'window.bar');
console.log(res.locals.state); // => window.foo = "foo";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.