Skip to content

Instantly share code, notes, and snippets.

@theosp
Created April 4, 2011 07:34
Show Gist options
  • Save theosp/901250 to your computer and use it in GitHub Desktop.
Save theosp/901250 to your computer and use it in GitHub Desktop.
head.js dev test
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>Using HeadJS</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
<script type="text/javascript" src="http://dock-dev.razoss.com/javascript/base.js"></script>
<script type="text/javascript">
head.js('http://images.apple.com/global/scripts/lib/prototype.js',
'http://images.apple.com/global/scripts/lib/scriptaculous.js',
'http://images.apple.com/global/scripts/browserdetect.js',
'http://images.apple.com/global/scripts/apple_core.js',
'http://images.apple.com/global/scripts/search_decorator.js',
'http://images.apple.com/global/scripts/promomanager.js',
'http://images.apple.com/home/scripts/ticker.js',
'http://images.apple.com/home/scripts/promotracker.js');
</script>
</head>
<body>
<p>
Hey, what are you staring at?! Open up <a href="http://getfirebug.com" target="_blank">Firebug</a>!
</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment