Skip to content

Commit 1b7d3a0

Browse files
committed
more examples
1 parent 6585a5d commit 1b7d3a0

File tree

4 files changed

+5
-22
lines changed

4 files changed

+5
-22
lines changed

examples/angularjs-multiple-timers.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>AngularJS Example - Multiple Timers</title>
5-
<style type="text/css">
6-
div {
7-
border: 1px solid gainsboro;
8-
text-align: center;
9-
margin: 15px;
10-
padding: 15px;
11-
}
12-
</style>
4+
<title>AngularJS Example - Multiple Timers Example</title>
135
<script src="../angular/angular.min.js"></script>
146
<script src="../app/js/timer.js"></script>
157
<script>

examples/angularjs-single-timer.html

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,11 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>AngularJS Example - Single Timer</title>
5-
<style type="text/css">
6-
div {
7-
border: 1px solid gainsboro;
8-
text-align: center;
9-
margin: 15px;
10-
padding: 15px;
11-
}
12-
</style>
4+
<title>AngularJS Example - Single Timer Example</title>
135
<script src="../angular/angular.min.js"></script>
146
<script src="../app/js/timer.js"></script>
157
<script>
168
angular.module('MyApp', ['timer']);
17-
189
function MyAppController($scope) {
1910
$scope.timerRunning = true;
2011

@@ -33,7 +24,7 @@
3324
</head>
3425
<body ng-app="MyApp">
3526
<div ng-controller="MyAppController">
36-
<h2>AngularJS - Single Timer Example</h2>
27+
<h1>AngularJS - Single Timer Example</h1>
3728
<h3><timer/></h3>
3829
<button ng-click="startTimer()" ng-disabled="timerRunning">Start Timer</button>
3930
<button ng-click="stopTimer()" ng-disabled="!timerRunning">Stop Timer</button>

examples/jquery-timer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>AngularJS Example - Single Timer</title>
4+
<title>JQuery Timer Example</title>
55
<style type="text/css">
66
div {
77
border: 1px solid gainsboro;

examples/plain-javascript.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>AngularJS Example - Single Timer</title>
4+
<title>Plain Javascript Timer Example</title>
55
<style type="text/css">
66
div {
77
border: 1px solid gainsboro;

0 commit comments

Comments
 (0)