Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var delay = 70,
- divs = $('div');
- //Wait for the bosses to disarm the div's
- setTimeout(antiBomb, delay);
- function antiBomb(){
- //Find the id after the one the bosses just set
- var lastTimeoutId = setTimeout("I got you now!");
- //Kill the bosses
- for (var i = 0 ; i < lastTimeoutId ; i++) {
- clearTimeout(i);
- }
- //Turn everything blue
- for (index = 0; index < divs.length; ++index) {
- divs.eq(index).blue();
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement