API

addWith(obj, src, [exclude], [environments])

The idea is that this is roughly equivallent to:

with (obj) {
src
}

There are a few differences though. For starters, it will be assumed that all variables used in src come from obj so any that don't (e.g. template helpers) need to have their names parsed to exclude as an array. If you want to have browser globals available you can pass a collection of environments, e.g.