Skip to content

Instantly share code, notes, and snippets.

@carlsednaoui
Created March 5, 2014 22:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlsednaoui/9378428 to your computer and use it in GitHub Desktop.
Save carlsednaoui/9378428 to your computer and use it in GitHub Desktop.
Optimizely for Angular
window.myInterval = setInterval(function() {
if ($(SELECTOR).length > 0) {
OPTIMIZELY CHANGES
clearInterval(window.myInterval);
}
}, 50);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment