bug in once

If so there is still a bug! 

Don't set ran to true before calling the wrapped method but just after. But this way the wrapped function will be called more than once.

It claims more attention that the one you had. You closed the pull request to fast. Sorry to insist. Let comment on.