Advertisement
Guest User

BLUE Answers

a guest
May 29th, 2014
842
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ANY # (I think)   ;)
  2. _SUCCESS();
  3.  
  4. // #1
  5. $( '*' ).blue();
  6.  
  7. // #2
  8. $( '[class*=want]' ).blue()
  9.  
  10. // #3 && #4
  11. $('*').contents().filter( function(){
  12.     return this.nodeType === 8;
  13. }).parent().blue()
  14.  
  15. // #5
  16. $( $( 'div' ).sort( function( a, b ){
  17.     return +a.innerText - +b.innerText;
  18. }) ).each( function( i, node ){
  19.     $( node ).blue()
  20. });
  21.  
  22. // #6
  23. $( 'div:not([class])' ).blue()
  24.  
  25. // #7
  26. clearTimeout(3);
  27.  
  28. $( 'body' ).html( '<section><div class="blue"></div></section>' );
  29. _VALIDATE();
  30.  
  31. // #8
  32. $( 'button' ).trigger( 'click' );
  33. $( 'div' ).blue();
  34.  
  35. // #9
  36. $( '#' + $( '#map' ).text().split( ' ' ).join( ',#' ) ).blue()
  37.  
  38. // #10
  39. setInterval( function(){
  40.     $( 'div:not(.bomb)' ).blue()
  41. }, 1 )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement