I hereby claim:
- I am danfascia on github.
- I am danfascia (https://keybase.io/danfascia) on keybase.
- I have a public key whose fingerprint is 8844 9EF7 15C0 8CBD A050 6DE1 7E9F 7EF1 95C5 BCA1
To claim this, I am signing this object:
| [ | |
| { | |
| "name": "Mammography", | |
| "slug": "mammography", | |
| "radiation": true, | |
| "code": "MM" | |
| }, | |
| { | |
| "name": "MRI", | |
| "slug": "mri", |
| [ | |
| { | |
| "name": "Chest", | |
| "slug": "chest" | |
| }, | |
| { | |
| "name": "Obstetric & Gynaecology", | |
| "slug": "obstetric-gynaecology" | |
| }, | |
| { |
I hereby claim:
To claim this, I am signing this object:
| // Stolen from https://stackoverflow.com/a/31615643 | |
| const appendSuffix = n => { | |
| var s = ['th', 'st', 'nd', 'rd'], | |
| v = n % 100; | |
| return n + (s[(v - 20) % 10] || s[v] || s[0]); | |
| }; | |
| module.exports = function dateFilter(value) { | |
| const dateObject = new Date(value); |
| /* | |
| Usage: | |
| eleventyConfig.addCollection("tagList", require("11ty_getTagList.js") ); | |
| This collection then produces a useful list... | |
| for tag in collections.tagList... | |
| which then gives access to |
| function toggleFullScreen() { | |
| if ((document.fullScreenElement && document.fullScreenElement !== null) || | |
| (!document.mozFullScreen && !document.webkitIsFullScreen)) { | |
| if (document.documentElement.requestFullScreen) { | |
| document.documentElement.requestFullScreen(); | |
| } else if (document.documentElement.mozRequestFullScreen) { | |
| document.documentElement.mozRequestFullScreen(); | |
| } else if (document.documentElement.webkitRequestFullScreen) { | |
| document.documentElement.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT); | |
| } |