Hacker News new | ask | show | jobs
by brown9-2 5047 days ago
I believe they are doing that to override any functions/objects already bound to window.infinity from other plugins/scripts. Look at the infinity.noConflict() function at the bottom of the source, which seems to be inspired by the jQuery.noConflict().
1 comments

It doesn't matter. Both snippets do the exact same thing, except the first has two attributions, the second just one.