36 lines
970 B
HTML
36 lines
970 B
HTML
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Demo géolocalisation 2</title>
|
|
<link rel="stylesheet" href="geo.css" />
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Step 3: object-oriented refactoring</h1>
|
|
<p>Same code as <a href="../geo2.html">geo2</a>, but refactored as independent
|
|
objects and a launcher for easier maintenance/testing.</p>
|
|
|
|
<h2>Results</h2>
|
|
<div id="geo"></div>
|
|
|
|
<script src="Geo.js"></script>
|
|
<script src="MessageElement.js"></script>
|
|
<script src="geo3.js"></script>
|
|
|
|
<h2>Sources</h2>
|
|
<ul>
|
|
<li><a href="Geo.js">Geo object</a></li>
|
|
<li><a href="MessageElement.js">MessageElement object</a></li>
|
|
<li><a href="geo3.js">Wrapper script</a></li>
|
|
</ul>
|
|
|
|
<div class="navbar">
|
|
<h2>Navigation</h2>
|
|
<ul>
|
|
<li><a href="../geo2">Previous</a></li>
|
|
<li><a href="../geo4">Next</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|