Skip to content

- (Bug Fix) Fixed typo in the definition of getWeeks, preventing its usage #150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGE LOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# FlipClock.js

#### 0.7.5
##### 21/10/2014

- (Bug Fix) Fixed a typo in the definition of the (unused by default) method getWeeks.

#### 0.7.4
##### 10/06/2014

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flipclock",
"version": "0.7.4",
"version": "0.7.5",
"homepage": "https://github.com/objectivehtml/FlipClock",
"authors": [
"Objective HTML",
Expand Down
4 changes: 2 additions & 2 deletions compiled/flipclock.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ var FlipClock;
* Version
*/

version: '0.7.3',
version: '0.7.5',

/**
* Sets the default options
Expand Down Expand Up @@ -1568,7 +1568,7 @@ var FlipClock;
* @return int Retuns a floored integer
*/

getWeeks: function() {
getWeeks: function(mod) {
var weeks = this.getTimeSeconds() / 60 / 60 / 24 / 7;

if(mod) {
Expand Down
4 changes: 2 additions & 2 deletions compiled/flipclock.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flipclock",
"version": "0.7.4",
"version": "0.7.5",
"email": "support@objectivehtml.com",
"author": "Objective HTML, LLC <support@objectivehtml.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/flipclock/js/libs/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ var FlipClock;
* Version
*/

version: '0.7.4',
version: '0.7.5',

/**
* Sets the default options
Expand Down
2 changes: 1 addition & 1 deletion src/flipclock/js/libs/time.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@
* @return int Retuns a floored integer
*/

getWeeks: function() {
getWeeks: function(mod) {
var weeks = this.getTimeSeconds() / 60 / 60 / 24 / 7;

if(mod) {
Expand Down