Move statuses into file

This commit is contained in:
Sam Carlton 2020-11-26 16:35:44 -06:00
parent b475efa577
commit e45947fcb5
2 changed files with 7 additions and 7 deletions

View file

@ -4,19 +4,13 @@ import MarkdownIt from 'markdown-it'
import slugify from 'slugify' import slugify from 'slugify'
import axios from 'axios' import axios from 'axios'
import statuses from './statuses'
import parseGithubDate from './parse-github-date' import parseGithubDate from './parse-github-date'
const md = new MarkdownIt() const md = new MarkdownIt()
export const statuses = {
'✅': 'native',
'✳️': 'rosetta',
'⏹': 'no-in-progress',
'🚫': 'no'
}
const getTokenLinks = function ( childTokens ) { const getTokenLinks = function ( childTokens ) {

6
helpers/statuses.js Normal file
View file

@ -0,0 +1,6 @@
export default {
'✅': 'native',
'✳️': 'rosetta',
'⏹': 'no-in-progress',
'🚫': 'no'
}