document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. yepnope({
  2.     test : Modernizr.hashchange && Modernizr.history,
  3.     nope : [
  4.         \'resources/jquery-1.5.1.min.js\',
  5.         \'resources/jquery.ba-hashchange.js\'
  6.     ],
  7.     complete : function(){
  8.  
  9.         console.info(\'I will fire only once when both jquery and the hashchange script are loaded\');
  10.  
  11.         // This code will be added to jQuerys DOM ready call stack
  12.         $(function(){
  13.             $(window).bind(\'hashchange\', function(){
  14.                 console.info(location.hash);
  15.             });
  16.         });    
  17.  
  18.     }
  19. });
  20.  
  21. // Only loads this for IE7 and IE8
  22. yepnope(\'ie7!ie8!userInterface.js\');
  23.  
  24. // Caches a resource without executing it.
  25. yepnope(\'preload!userInterface.js\');
');