-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
564d132
commit a74d9ee
Showing
6 changed files
with
57 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export const LIKES_INCREMENT_STEP = 8; // # of increment when displayed likes is less than finalLikes | ||
export const LIKES_INCREMENT_DELAY = 15; // displayed likes increases by LIKES_INCREMENT_STEP every LIKES_INCREMENT_DELAY millisecs | ||
export const LIKES_ANIMATION_DELAY = 4000; // delay in millisec the likes animation to wait for comments to start rolling | ||
export const ANIMATION_DURATION_LOWER = 1000; // lower limit for animation runtime | ||
export const ANIMATION_DURATION_UPPER = 2000; // upper limit for animation runtime | ||
export const PAUSE_DURATION_LOWER = 2000; // lower limit for pause duration | ||
export const PAUSE_DURATION_UPPER = 3000; // upper limit for pause duration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
export const WORDS_PER_MS = 200 / 60000; // 200 words per minute to milliseconds | ||
export const MIN_DISPLAY_TIME = 2000; // Minimum display time of 2 seconds | ||
export const LIKES_INCREMENT_STEP = 8; // # of increment when displayed likes is less than finalLikes | ||
export const LIKES_INCREMENT_DELAY = 15; // displayed likes increases by LIKES_INCREMENT_STEP every LIKES_INCREMENT_DELAY millisecs |