123456789101112131415161718 |
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title>Demo géolocalisation 4</title>
- <script data-main="geo4" src="require.min.js"></script>
- </head>
- <body>
- <h1>Step 4: add Require.js</h1>
- <p>Same code as <a href="../geo3">geo3</a>, but uses
- <a href="http://requirejs.org/">RequireJS</a>
- for dependency inclusion: this minimizes the amount of JavaScript code
- embedded in the HTML.</p>
- <div id="geo"></div>
- </body>
- </html>
|