Download wp-calypso/client/my-sites/comments/constants.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 365 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/comments/constants.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/my-sites/comments/constants.js
-
curl -L -o constants.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/my-sites/comments/constants.js
365 Bytes
| // Maximum number of comments that will be shown per page. | |
| export const COMMENTS_PER_PAGE = 20; | |
| // Allowed values for comments list sort order. | |
| // Currently the sorting is done by comparing the values of comment IDs, | |
| // and relying on the fact that more recent comments have higher ID values. | |
| export const NEWEST_FIRST = 'desc'; | |
| export const OLDEST_FIRST = 'asc'; | |