Please sign in to comment.
Access window.PIE directly within init and cleanup functions rather t…
…han setting a variable in outer scope; this fixes an intermittent bug where init would be called before the outer var had its value set (due to the init function getting hoisted perhaps?) which led to elements not being initialized and, it seems, browser crashes.
- Loading branch information...