Sha256: 1211c550ccb691c1ad7717bb0bbded7da5d455762b9c9c5ac2fa11da4ec38c33

Contents?: true

Size: 366 Bytes

Versions: 3

Compression:

Stored size: 366 Bytes

Contents

require 'rails/generators'

module Autocomplete
  class UncompressedGenerator < Rails::Generators::Base
    def install
      # Copy the unobtrusive JS file
      copy_file('autocomplete-rails-uncompressed.js', 'public/javascripts/autocomplete-rails.js')
    end

    def self.source_root
      File.join(File.dirname(__FILE__), '..', 'templates')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails3-jquery-autocomplete-0.9.1 lib/generators/autocomplete/uncompressed_generator.rb
rails3-jquery-autocomplete-0.9.0 lib/generators/autocomplete/uncompressed_generator.rb
rails3-jquery-autocomplete-0.8.0 lib/generators/autocomplete/uncompressed_generator.rb