VPenkov / okayNav

The world's okayest responsive navigation. This is (sort of) a legacy implementation. Please stay tuned to the 3.0 branch (https://github.com/VPenkov/okayNav/tree/v3.0)
4.02k stars 266 forks source link

Declare variable self in order to avoid global assignment #40

Closed splattne closed 8 years ago

splattne commented 8 years ago

In line 48 (now 49) self is assigned globally to windows which could break a lot of things in applications and other libraries.