paularmstrong/swig — pull request #466 by alincc (2014-05-25 11:01:19+00:00)
Title: Allow filters to access local context

Useful when you need to consume some local context data, from within filters.
Eg:
context: {username: 'myuser}

filter: function(input)
{
return 'Hello ' + this.context.username;
}