Sha256: 17539be76d9694f5988f0f6885c011a2f56c31e4b46e85ff6af0c66012508d5a

Contents?: true

Size: 806 Bytes

Versions: 1

Compression:

Stored size: 806 Bytes

Contents

module Rack
  class JQueryUI
    VERSION = "0.0.5"

    # This is here in case another rack-jquery_ui library has already been loaded.
    jquery_ui_version = "1.10.1"
    if defined? JQUERY_UI_VERSION
      warn "JQUERY_UI_VERSION was already defined."
      unless JQUERY_UI_VERSION == jquery_ui_version
        warn "The JQUERY_UI_VERSION defined is #{JQUERY_UI_VERSION} but the version this library wants to use is #{jquery_ui_version}. You have been warned!"
      end
    else
      JQUERY_UI_VERSION = jquery_ui_version

      # This is the release date of the jQuery file, it makes an easy "Last-Modified" date for setting the headers around caching.
      # @todo remember to change Last-Modified with each release!
      JQUERY_UI_VERSION_DATE = "Fri, 15 Feb 2013 00:00:00 GMT"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-jquery_ui-0.0.5 lib/rack/jquery_ui/version.rb