gearheads
/
mastodon
Archived
2
0
Fork 0

Do not require images in about.js and share.js (#6622)

They are already required by common.js.
gh/stable
Akihiko Odaki 2018-03-05 04:27:40 +09:00 committed by Eugen Rochko
parent 460e380d38
commit 7a6eaad445
2 changed files with 0 additions and 4 deletions

View File

@ -1,7 +1,5 @@
import loadPolyfills from '../mastodon/load_polyfills'; import loadPolyfills from '../mastodon/load_polyfills';
require.context('../images/', true);
function loaded() { function loaded() {
const TimelineContainer = require('../mastodon/containers/timeline_container').default; const TimelineContainer = require('../mastodon/containers/timeline_container').default;
const React = require('react'); const React = require('react');

View File

@ -1,7 +1,5 @@
import loadPolyfills from '../mastodon/load_polyfills'; import loadPolyfills from '../mastodon/load_polyfills';
require.context('../images/', true);
function loaded() { function loaded() {
const ComposeContainer = require('../mastodon/containers/compose_container').default; const ComposeContainer = require('../mastodon/containers/compose_container').default;
const React = require('react'); const React = require('react');