Last active
December 18, 2015 04:08
-
-
Save josephwegner/5722795 to your computer and use it in GitHub Desktop.
Rick Roll if there are too many entities
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var rickrollDebugger = setInterval(function() { | |
| if($(".entity").length > 50) { | |
| window.open("http://www.youtube.com/watch?v=dQw4w9WgXcQ"); | |
| } else { | |
| console.log($(".entity").length); | |
| } | |
| }, 20000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment