24 lines
696 B
HTML
24 lines
696 B
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<title>require.js: data-main baseUrl Test</title>
|
||
|
<script type="text/javascript" src="../../doh/runner.js"></script>
|
||
|
<script type="text/javascript" src="../../doh/_browserRunner.js"></script>
|
||
|
<script>
|
||
|
var require = {
|
||
|
baseUrl: "./"
|
||
|
};
|
||
|
</script>
|
||
|
<script type="text/javascript" data-main="src/main" src="../../../require.js"></script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1>require.js: data-main baseUrl Test</h1>
|
||
|
|
||
|
<p>Confirm that setting a baseUrl does not mess up the data-main module
|
||
|
ID. More info:
|
||
|
<a href="https://github.com/jrburke/requirejs/issues/325">325</a>.
|
||
|
|
||
|
<p>Check console for messages</p>
|
||
|
</body>
|
||
|
</html>
|