Skip to content

Commit

Permalink
Updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
delightedCrow committed Nov 5, 2019
1 parent f0780b1 commit 3d072d3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions MMM-HabiticaStats.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Module.register("MMM-HabiticaStats", {
// it looks like we're fetching the content data anew each time, but the
// browser should have this cached so unless Habitica has updated the
// content on their end this should end up being a local fetch to cache
// after the first time
// after the first time
apiManager.fetchContentData()
.then(() => {
return apiManager.fetchUserWithTasks(this.config.userID, this.config.APIToken);
Expand Down Expand Up @@ -90,7 +90,6 @@ Module.register("MMM-HabiticaStats", {
},

scheduleUpdate: function() {
console.log("Scheduling update!");
this.updateTimer = setInterval(() => {
this.fetchUserData();
},
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ electronOptions: {

## Contributing & Development

### Changelog

To view the changelog see [CHANGELOG.md](CHANGELOG.md).

### Building CSS

This module uses SASS, so to make style changes please edit the `MMM-HabiticaStats.scss` file and use node-sass to compile the css file:

- Run the command `npm install` to install node-sass.
Expand Down

0 comments on commit 3d072d3

Please sign in to comment.