Commit graph

44 commits

Author SHA1 Message Date
skuethe
79d4327a5a updating readme 2020-11-06 22:15:25 +01:00
skuethe
ac765c968f adding support for hiddenPages 2020-11-06 22:12:48 +01:00
eae561e67d
Fix not sending notifications to other modules 2020-11-06 10:28:49 -05:00
c39f60409d
Suppress warning on changePageBy if fallback is valid. 2020-11-06 10:27:17 -05:00
6e025371bd
Fix typo. Fixes #49. 2020-11-06 10:07:21 -05:00
96824b4236
Deprecate rotationFirstPage, use rotationHomePage instead 2020-11-03 19:42:40 -05:00
8e57458b72
update readme, changed initial notification to NEW_PAGE 2020-11-03 19:42:40 -05:00
87f6b1eba1
also set current page during initialization 2020-11-03 19:42:40 -05:00
79e132b007
Add home page notification and config value.
Fixes #43.
2020-11-03 19:42:37 -05:00
Burnallover
b554ee86b1
Ability to return to the first page without the loop function (#36)
* Ability to return to the first page without the loop function
* Update MMM-pages.js

Co-authored-by: Edward Shen <eddie22099@gmail.com>
2020-06-02 20:57:24 -04:00
bd8cc9f332
attempt to fix pause_notification 2020-04-17 13:52:37 -04:00
c835ea2cc6
implement experimental rotation pausing 2020-04-16 19:59:19 -04:00
c017c9f4ab
Implemented notification on every page change.
Fixes #29.
2020-04-07 11:52:39 -04:00
dc44bfec00
lint 2019-08-08 13:14:01 -04:00
9684949a1d
Add null handling for negative null. Closes #22. 2019-08-08 12:58:21 -04:00
67d142452d
fixed not a number check in changePageBy 2019-04-13 12:35:47 -04:00
0bb003d3d8
Apparently the issue in #11 is still present in the newest versions of MM.
I've implemented the fix in #11 present by Ax-LED, so hopefully this is
fixed now.

Co-authored-by: Ax-LED <37046881+Ax-LED@users.noreply.github.com>
2019-02-19 09:40:43 -05:00
d2323aa116
renamed excludes config to fixed, added legacy handling code. 2019-02-13 00:15:20 -05:00
Edward Shen
614f6b9606
Fixed readme, added NaN check 2018-10-16 11:18:09 -04:00
Edward Shen
6ea3f13e7d
changed this to self in inner anonymous class 2018-09-01 08:41:08 -04:00
Edward Shen
5549c484f1
forgot to send out page change notification 2018-08-21 11:53:39 -04:00
Edward Shen
3282c2e5b6
huge rewrite, fixes #9 2018-08-20 16:21:38 -04:00
Edward Shen
c785b14aae
added more documentation 2018-08-20 10:43:21 -04:00
Edward Shen
cc1e7d17f8
typo, style 2018-08-10 16:21:52 -04:00
Edward Shen
6f3ac28e69
Added more debug info, added clarifying parens 2018-08-10 15:05:42 -04:00
Edward Shen
92c4be1973
added documentation
typo fixes
2018-07-30 11:57:22 -04:00
Edward Shen
0c33e2f09d
added local eslint configs and yarn init
Typo fixes
undid whatever wierd style I had before
added a notification hook to tell the current page
2018-07-30 11:53:07 -04:00
Edward Shen
1ba0e490b7
merged 2018-07-26 14:11:18 -04:00
Edward Shen
edc1e08e65
Revert "added support for changing by a certain amount of pages"
This reverts commit f4fc53fa19.

Update issue templates
2018-05-08 16:54:49 -04:00
Edward Shen
f4fc53fa19
added support for changing by a certain amount of pages 2018-05-07 13:05:52 -04:00
Edward Shen
bdec10fde3
fixed bug? 2018-05-06 18:11:27 -04:00
Edward Shen
6c15c9edaf
reverted back to old function declaration 2018-05-06 09:33:33 -04:00
Edward Shen
1425b70ad6
Reintroduced self for compatability. 2018-05-05 22:19:51 -04:00
Edward Shen
4401cb411b
For some reason it looks like node fixed the scoping of this.
Removed instances of `self`.
2018-05-04 11:09:53 -04:00
Edward Shen
587a462ae4
removed package-lock because I use yarn, added yarn.lock.
Updateed readme.
Added modulo functino.
2018-04-28 21:14:49 -04:00
Edward Shen
3791b1913e
fixed type checking 2018-04-28 21:14:49 -04:00
Edward Shen
d27abc07e5
fixed bug 2018-04-28 21:14:49 -04:00
Edward Shen
a900b39f4c
Enforced AirBnB style, updated syntax. 2018-04-26 03:25:40 -04:00
Edward Shen
579fc24de8
Revert "changed some code to use modulo instead of the stupid thing I was doing before"
This reverts commit 248bd9b5cc.
2017-10-21 01:55:13 -04:00
Edward Shen
248bd9b5cc
changed some code to use modulo instead of the stupid thing I was doing before
fixed scope
2017-10-21 01:52:28 -04:00
Edward Shen
ba0aa4696a
added automatic page rotation
forgot to add scope of max function

fixed reference issuese with setInterval

moved manual call inside fo check

added debugging

lol scoping issue

moved null check to inside updatePages

Forgot to access config before accessing config variables

forgot to increment the apge when automatically updating

fixed config check

fixed conditional

moved page incrementation into nested function

added notification that the page incremented

fixed readme
2017-10-21 01:45:38 -04:00
Edward Shen
aab0d1d627 fixed bug where module would not properly visibility-lock modules 2017-08-27 02:43:31 -04:00
Edward Shen
f6270a93f3 added example 2017-06-18 17:16:45 -04:00
Edward Shen
93621061bf added basic functionality 2017-06-18 16:24:04 -04:00