index.html 516 B

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