From 297921fce570bfab413bab4e16a4ae694ecc4f28 Mon Sep 17 00:00:00 2001 From: kibigo! Date: Wed, 12 Jul 2017 01:02:51 -0700 Subject: Moved glitch files to their own location ;) --- app/javascript/glitch/components/status/prepend.js | 164 +++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 app/javascript/glitch/components/status/prepend.js (limited to 'app/javascript/glitch/components/status/prepend.js') diff --git a/app/javascript/glitch/components/status/prepend.js b/app/javascript/glitch/components/status/prepend.js new file mode 100644 index 000000000..ef9209e81 --- /dev/null +++ b/app/javascript/glitch/components/status/prepend.js @@ -0,0 +1,164 @@ +/* + +`` +================= + +Originally a part of ``, but extracted into a separate +component for better documentation and maintainance by +@kibi@glitch.social as a part of glitch-soc/mastodon. + +*/ + + /* * * * */ + +/* + +Imports: +-------- + +*/ + +// Package imports // +import React from 'react'; +import PropTypes from 'prop-types'; +import ImmutablePropTypes from 'react-immutable-proptypes'; +import escapeTextContentForBrowser from 'escape-html'; +import { FormattedMessage } from 'react-intl'; + +// Mastodon imports // +import emojify from '../../../mastodon/emoji'; + + /* * * * */ + +/* + +The `` component: +-------------------------------- + +The `` component holds a status's prepend, ie the text +that says “X reblogged this,” etc. It is represented by an `