Skip to content

Commit eca78d5

Browse files
committed
v1.0.3
1 parent 07fc9c6 commit eca78d5

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

Diff for: dist/angular-timer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* angular-timer - v1.0.3 - 2013-09-25 5:55 PM
2+
* angular-timer - v1.0.3 - 2013-09-25 7:08 PM
33
* https://github.com/siddii/angular-timer
44
*
55
* Copyright (c) 2013 Siddique Hameed

Diff for: dist/angular-timer.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/docs.js

+9-9
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ function stopResumeTimer(sectionId, btn) {
2020
btn.innerHTML = 'Stop';
2121
}
2222
}
23-
angular.module('timer',[]).controller('TimerDemoController',['$scope', function ($scope) {
24-
$scope.linkAnchors = function () {
25-
$('ul.nav a').click(function (){
26-
var path = $(this).attr('href');
27-
if (path != '#') {
28-
window.location = path;
29-
}
30-
});
31-
};
23+
angular.module('timer-demo',['timer']).controller('TimerDemoController',['$scope', function ($scope) {
24+
$scope.linkAnchors = function () {
25+
$('ul.nav a').click(function (){
26+
var path = $(this).attr('href');
27+
if (path != '#') {
28+
window.location = path;
29+
}
30+
});
31+
};
3232
}]);

Diff for: examples.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<script src="docs/docs.js"></script>
1616
</head>
1717

18-
<body ng-app="timer" ng-controller="TimerDemoController">
18+
<body ng-app="timer-demo" ng-controller="TimerDemoController">
1919
<ng-include src="'navbar.html'" onload='linkAnchors();'></ng-include>
2020
<div class="container page-content">
2121
<section id="angularjs-single-timer">

Diff for: index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<script src="dist/angular-timer.min.js"></script>
1515
<script src="docs/docs.js"></script>
1616
</head>
17-
<body ng-app="timer" ng-controller="TimerDemoController">
17+
<body ng-app="timer-demo" ng-controller="TimerDemoController">
1818

1919
<ng-include src="'navbar.html'" onload='linkAnchors();'></ng-include>
2020

Diff for: navbar.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<span class="icon-bar"></span>
1010
<span class="icon-bar"></span>
1111
</button>
12-
<a class="brand" href="/">Angular Timer</a>
12+
<a class="brand" href="index.html">Angular Timer</a>
1313
<div class="nav-collapse collapse">
1414
<ul class="nav">
1515
<li class="dropdown">

0 commit comments

Comments
 (0)