Skip to content

Instantly share code, notes, and snippets.

@foxxtrot
Created July 13, 2010 19:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save foxxtrot/474340 to your computer and use it in GitHub Desktop.
Save foxxtrot/474340 to your computer and use it in GitHub Desktop.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<Script src="http://yui.yahooapis.com/3.1.0/build/yui/yui-min.js"></script>
</head>
<body>
<script>
alert('foo');
YUI({
//Last Gallery Build of this module
modules: {
'gallery-crypto-md5': {
fullpath: 'http://yui.yahooapis.com/gallery-2010.03.02-18/build/gallery-crypto/gallery-crypto-md5-min.js'
}
}
}).use('gallery-crypto-md5', function(Y) {
alert(Y.Crypto.MD5("Test Value"));
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment