<!DOCTYPE html>
<html>
<head>
	<title>Loading jQuery As A Named Module In RequireJS</title>

	<!-- Include the require JS library. -->
	<script type="text/javascript" src="./require.js"></script>
	<script type="text/javascript">


		// Configure the RequireJS paths to use an alias for the
		// jQuery library.
		require.config({
			paths: {
				"jquery": "./jquery-1.6.4"
			}
		});


		// Now that we have configured a named alias for the jQuery
		// library, let's try to load it using the named module.
		require(
			[
				"jquery"
			],
			function( $164 ){

				// Log the callback parameter.
				console.log( "$164.fn.jquery:", $164.fn.jquery );

			}
		);


	</script>
</head>
<body>
	<!-- Left intentionally blank. -->
</body>
</html>