about summary refs log tree commit diff
path: root/app/javascript/packs
diff options
context:
space:
mode:
authorOndřej Hruška <ondra@ondrovo.com>2017-09-28 09:20:59 +0200
committerOndřej Hruška <ondra@ondrovo.com>2017-09-28 09:20:59 +0200
commitdaad07b1d552d5af06b4d8443afdbe1350785a14 (patch)
tree4062f211cd6e307a5bbb7c338263f366a9fafade /app/javascript/packs
parent83bda6c1a813c5aeb131b18a0500fed0c07fa9c2 (diff)
parentf7ca205f382a9d528bf37e3ec38ee8bf77dccccf (diff)
Merge remote-tracking branch 'origin/better-themeing' into merging-upstream
Diffstat (limited to 'app/javascript/packs')
-rw-r--r--app/javascript/packs/application.js2
-rw-r--r--app/javascript/packs/frontends/mastodon.js16
2 files changed, 1 insertions, 17 deletions
diff --git a/app/javascript/packs/application.js b/app/javascript/packs/application.js
index c06714dc1..aa94006c6 100644
--- a/app/javascript/packs/application.js
+++ b/app/javascript/packs/application.js
@@ -2,7 +2,7 @@ import loadPolyfills from '../mastodon/load_polyfills';
 
 // import default stylesheet with variables
 require('font-awesome/css/font-awesome.css');
-require('mastodon-application-style');
+import 'styles/application';
 
 require.context('../images/', true);
 
diff --git a/app/javascript/packs/frontends/mastodon.js b/app/javascript/packs/frontends/mastodon.js
deleted file mode 100644
index a983de36f..000000000
--- a/app/javascript/packs/frontends/mastodon.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// This file replaces `app/javascript/packs/application.js` for use
-// with multiple frontends.
-
-import loadPolyfills from '../../mastodon/load_polyfills';
-
-// import default stylesheet with variables
-require('font-awesome/css/font-awesome.css');
-require('mastodon-application-style');
-
-require.context('../../images/', true);
-
-loadPolyfills().then(() => {
-  require('../../mastodon/main').default();
-}).catch(e => {
-  console.error(e);
-});