This commit is contained in:
Ilya Kantor 2019-03-07 10:35:58 +03:00
parent 16cfa3037b
commit cdc1693443
7 changed files with 43 additions and 63 deletions

View file

@ -1,34 +1,21 @@
<!DOCTYPE HTML>
<html>
<script src="clock.js"></script>
<script>
let clock = new Clock({
template: 'h:m:s'
});
clock.start();
<head>
<title>Console clock</title>
</head>
<body>
/* Your class should work like this: */
<!-- source clock -->
<script src="clock.js"></script>
<script>
let clock = new Clock({
template: 'h:m:s'
/*
let lowResolutionClock = new ExtendedClock({
template: 'h:m:s',
precision: 10000
});
clock.start();
/* Your class should work like this: */
/*
let lowResolutionClock = new ExtendedClock({
template: 'h:m:s',
precision: 10000
});
lowResolutionClock.start();
*/
</script>
</body>
</html>
lowResolutionClock.start();
*/
</script>