Sha256: 6f04afe4312754dcd0c6cf8fadedbd00bf43d39f7e65a3a18e9308fda7f8cb35

Contents?: true

Size: 336 Bytes

Versions: 16

Compression:

Stored size: 336 Bytes

Contents

require 'chartjs/chart_helpers'

module Chartjs
  class Engine < Rails::Engine
    initializer 'chartjs.chart_helpers' do
      if ::Chartjs.no_conflict
        ActionView::Base.send :include, Chartjs::ChartHelpers::Explicit
      else
        ActionView::Base.send :include, Chartjs::ChartHelpers::Implicit
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
chartjs-ror-3.7.0 lib/chartjs/engine.rb
tracks-chartjs-ror-3.6.4 lib/chartjs/engine.rb
chartjs-ror-3.6.4 lib/chartjs/engine.rb
chartjs-ror-3.6.3 lib/chartjs/engine.rb
chartjs-ror-3.6.2 lib/chartjs/engine.rb
chartjs-ror-3.6.1 lib/chartjs/engine.rb
chartjs-ror-3.6.0 lib/chartjs/engine.rb
chartjs-ror-3.5.0 lib/chartjs/engine.rb
chartjs-ror-3.4.0 lib/chartjs/engine.rb
chartjs-ror-3.3.1 lib/chartjs/engine.rb
chartjs-ror-3.3.0 lib/chartjs/engine.rb
chartjs-ror-3.2.0 lib/chartjs/engine.rb
chartjs-ror-3.1.0 lib/chartjs/engine.rb
chartjs-ror-3.0.2 lib/chartjs/engine.rb
chartjs-ror-3.0.1 lib/chartjs/engine.rb
chartjs-ror-3.0.0 lib/chartjs/engine.rb