Manage context with ease
Usage
var Context = ;var ctx = {}; ctxvalue = 'first version'; // console.log(ctx.value) -> 'first version'ctx = Context;ctxvalue = 'second version'; // console.log(ctx.value) -> 'second version'ctx = Context;console; // -> 'first version'
API
Context.snapshot(ctx)
Creates new Object and add it to ctx
prototype.
Context.restore(ctx)
Removes created Object from prototype chain of ctx.