This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/javascript/mastodon/common.js

13 lines
219 B
JavaScript

import Rails from 'rails-ujs';
export function start() {
require('font-awesome/css/font-awesome.css');
require.context('../images/', true);
try {
Rails.start();
} catch (e) {
// If called twice
}
};