Skip to content

Hey! I noticed you were using setInterval without a proxy.#10

Open
wesalvaro wants to merge 2 commits intotheproductguy:masterfrom
wesalvaro:master
Open

Hey! I noticed you were using setInterval without a proxy.#10
wesalvaro wants to merge 2 commits intotheproductguy:masterfrom
wesalvaro:master

Conversation

@wesalvaro
Copy link

So I fixed it. This way, your context is preserved. I noticed this because I use jQuery in noConflict mode and the refresh fails as $ is undefined. Using proxy, jQuery will create an anonymous function for you with the call.

It's pretty nice.

I also cleaned up some comparisons and tab/space mixtures.

I really like the plugin! Hope I helped.

-Wes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant