Sha256: 1ac3664826ed7792f69f0532769a2a322586ea01d79622e6f25e452f442cc2a2

Contents?: true

Size: 530 Bytes

Versions: 5

Compression:

Stored size: 530 Bytes

Contents

# -*- encoding : utf-8 -*-

class Select2 < Cardio::Migration
  def up
    add_script "select2",
                type_id: Card::JavaScriptID,
                to: "*all+*script"

    # add_style "select2",
    #           type_id: Card::CssID,
    #               to: "*all+*style"
    #
    # add_style "select2 bootstrap",
    #              type_id: Card::ScssID,
    #                   to: "*all+*style"

    add_script "load select2",
               type_id: Card::CoffeeScriptID,
               to: "*all+*script"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
card-mod-bootstrap-0.11.4 db/migrate_core_cards/20170726145012_select2.rb
card-mod-bootstrap-0.11.3 db/migrate_core_cards/20170726145012_select2.rb
card-mod-bootstrap-0.11.2 db/migrate_core_cards/20170726145012_select2.rb
card-mod-bootstrap-0.11.1 db/migrate_core_cards/20170726145012_select2.rb
card-mod-bootstrap-0.11.0 db/migrate_core_cards/20170726145012_select2.rb