Sha256: d0f82db58c92e410386af26a38d18b75969db1dc303245ccd39b84a77c594452
Contents?: true
Size: 1.1 KB
Versions: 1
Compression:
Stored size: 1.1 KB
Contents
#-- copyright # Copyright (C) 2014 Philipp Tessenow # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License version 3. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # See doc/COPYRIGHT.md for more details. #++ # PreventĀ load-order problems in case openproject-plugins is listed after a plugin in the Gemfile # or not at all require 'open_project/plugins' module OpenProject::Emoji class Engine < ::Rails::Engine engine_name :openproject_emoji include OpenProject::Plugins::ActsAsOpEngine register 'openproject-emoji', :author_url => 'http://tessenow.org', :requires_openproject => '>= 3.0.8', :global_assets => {js: 'emoji.js', css: 'emoji.css'} initializer 'emoji.precompile_assets' do |app| app.config.assets.precompile += ['emojify.js', 'emoji.js', 'emoji.css'] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
openproject-emoji-3.0.8 | lib/open_project/emoji/engine.rb |