I reserve the right to be wrong here, but I'm pretty sure in your example outer will be be null on the onclick.
I don't know what you mean by "has closures but not when evented."
A closure is created for the anonymous function, allowing access (by reference) to the non-local variables in the containing method.