Skip to content

Instantly share code, notes, and snippets.

@birarda
Created December 20, 2017 22:51
Show Gist options
  • Save birarda/89ea9bc025b6a22d9b1fed9748edaf58 to your computer and use it in GitHub Desktop.
Save birarda/89ea9bc025b6a22d9b1fed9748edaf58 to your computer and use it in GitHub Desktop.
var updates = 0;
Script.update.connect(function(){
if (updates++ >= 150) {
Script.stop();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment