From d680185b0bdf760b709a1560ce3f1ba0910a164b Mon Sep 17 00:00:00 2001 From: Georg Gadinger Date: Sun, 19 Apr 2020 17:03:53 +0200 Subject: [PATCH] Remove twemoji --- Gemfile | 2 -- Gemfile.lock | 3 --- app/assets/javascripts/application.js.erb.coffee | 12 ------------ 3 files changed, 17 deletions(-) diff --git a/Gemfile b/Gemfile index 90b9c97f..ee4572c0 100644 --- a/Gemfile +++ b/Gemfile @@ -43,8 +43,6 @@ gem 'tiny-color-rails' gem 'jquery-minicolors-rails' gem 'colorize' -gem 'twemoji-rails' - gem 'ruby-progressbar' gem 'rails_admin' diff --git a/Gemfile.lock b/Gemfile.lock index 5f212824..95ace612 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -623,8 +623,6 @@ GEM simple_oauth turbolinks (2.5.4) coffee-rails - twemoji-rails (1.2.1.3) - railties (>= 3.0.0) twitter (7.0.0) addressable (~> 2.3) buftok (~> 0.2.0) @@ -742,7 +740,6 @@ DEPENDENCIES tiny-color-rails tumblr_client turbolinks (~> 2.5.3) - twemoji-rails twitter uglifier (>= 1.3.0) unicorn diff --git a/app/assets/javascripts/application.js.erb.coffee b/app/assets/javascripts/application.js.erb.coffee index 4a636bae..b135cf66 100644 --- a/app/assets/javascripts/application.js.erb.coffee +++ b/app/assets/javascripts/application.js.erb.coffee @@ -4,7 +4,6 @@ #= require jquery.arctic_scroll #= require turbolinks #= require bootstrap -#= require twemoji #= require nprogress #= require nprogress-turbolinks #= require growl @@ -75,17 +74,6 @@ _ready = -> lineColor: bodyColor density: 23000 - if twemoji? - twemoji.parse document.body, - size: 16 - callback: (icon, options) -> - switch icon - # copyright, registered, trademark - when 'a9' or 'ae' or '2122' - false - else - ''.concat(options.base, options.size, '/', icon, options.ext) - $('.arctic_scroll').arctic_scroll speed: 500