Functionality is preserved. Back button works as expected.
I had to do an unlucky hack because args.name is modified in every call, so I had to copy the whole argument object before feeding it to open.
I did it with Object.create(), which is ES5 standard and solves this with simple prototype inheritance.
Every non-crappy browser supports it, but if IE8 support is necessary, I might need to change it.
This is an attempt to do #30 .
Functionality is preserved. Back button works as expected.
I had to do an unlucky hack because args.name is modified in every call, so I had to copy the whole argument object before feeding it to open. I did it with
Object.create()
, which is ES5 standard and solves this with simple prototype inheritance. Every non-crappy browser supports it, but if IE8 support is necessary, I might need to change it.