Skip to content

Commit 880fe38

Browse files
committed
Merge pull request #150 from charlesbaynham/Fix-modulus-for-getWeeks
- (Bug Fix) Fixed typo in the definition of getWeeks, preventing its usage
2 parents 2293c5e + e54db5d commit 880fe38

File tree

7 files changed

+13
-8
lines changed

7 files changed

+13
-8
lines changed

CHANGE LOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# FlipClock.js
22

3+
#### 0.7.5
4+
##### 21/10/2014
5+
6+
- (Bug Fix) Fixed a typo in the definition of the (unused by default) method getWeeks.
7+
38
#### 0.7.4
49
##### 10/06/2014
510

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flipclock",
3-
"version": "0.7.4",
3+
"version": "0.7.5",
44
"homepage": "https://github.com/objectivehtml/FlipClock",
55
"authors": [
66
"Objective HTML",

compiled/flipclock.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ var FlipClock;
203203
* Version
204204
*/
205205

206-
version: '0.7.3',
206+
version: '0.7.5',
207207

208208
/**
209209
* Sets the default options
@@ -1568,7 +1568,7 @@ var FlipClock;
15681568
* @return int Retuns a floored integer
15691569
*/
15701570

1571-
getWeeks: function() {
1571+
getWeeks: function(mod) {
15721572
var weeks = this.getTimeSeconds() / 60 / 60 / 24 / 7;
15731573

15741574
if(mod) {

compiled/flipclock.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flipclock",
3-
"version": "0.7.4",
3+
"version": "0.7.5",
44
"email": "[email protected]",
55
"author": "Objective HTML, LLC <[email protected]>",
66
"license": "MIT",

src/flipclock/js/libs/core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ var FlipClock;
5757
* Version
5858
*/
5959

60-
version: '0.7.4',
60+
version: '0.7.5',
6161

6262
/**
6363
* Sets the default options

src/flipclock/js/libs/time.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@
376376
* @return int Retuns a floored integer
377377
*/
378378

379-
getWeeks: function() {
379+
getWeeks: function(mod) {
380380
var weeks = this.getTimeSeconds() / 60 / 60 / 24 / 7;
381381

382382
if(mod) {

0 commit comments

Comments
 (0)