index.html 925 B

12345678910111213141516171819202122232425262728293031323334
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  4. <title>Demo géolocalisation 4</title>
  5. <link rel="stylesheet" href="geo.css" />
  6. <script data-main="geo4" src="require.min.js"></script>
  7. </head>
  8. <body>
  9. <h1>Step 4: add Require.js</h1>
  10. <p>Same code as <a href="../geo3">geo3</a>, but uses
  11. <a href="http://requirejs.org/">RequireJS</a>
  12. for dependency inclusion: this minimizes the amount of JavaScript code
  13. embedded in the HTML.</p>
  14. <h2>Results</h2>
  15. <div id="geo"></div>
  16. <h2>Sources</h2>
  17. <ul>
  18. <li><a href="Geo.js">Geo object</a></li>
  19. <li><a href="MessageElement.js">MessageElement object</a></li>
  20. <li><a href="geo4.js">Wrapper script</a></li>
  21. </ul>
  22. <div class="navbar">
  23. <h2>Navigation</h2>
  24. <ul>
  25. <li><a href="../geo3">Previous</a></li>
  26. </ul>
  27. </div>
  28. </body>
  29. </html>