Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
1 of 4

Namespacing jQuery/jQueryUi into markup that I don't control

I have a project that I've been trying to get just right for the past three months and it's still not quite there yet.

I'm injecting some jQuery and jQueryUi code into pages that I have no control over and I need to be able to "sandbox" my code away from anything that may or may not be there at DOM-ready, or at anytime there after...

I think I've got it, but PLEASE.. I know there's some edge cases and race conditions that I'm missing. Please fork this and tell me what I've missed.. Tired of spinning my wheels on this issue: http://plnkr.co/edit/iWJWLrpH4RpQwQUL0bYe?p=preview