examples/config.rb in rack-jquery_ui-1.1.0 vs examples/config.rb in rack-jquery_ui-2.0.0

- old
+ new

@@ -43,11 +43,11 @@ @@google %html %head = Rack::JQuery.cdn( :google ) = Rack::JQueryUI.cdn( :google ) - %link{ href: "http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css", rel: "stylesheet"} + %link{ href: "http://code.jquery.com/ui/#{Rack::JQueryUI::JQUERY_UI_VERSION}/themes/base/jquery-ui.css", rel: "stylesheet"} :css body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; font-size: 62.5%; } @@ -56,11 +56,11 @@ @@microsoft %html %head = Rack::JQuery.cdn( :microsoft ) = Rack::JQueryUI.cdn( :microsoft ) - %link{ href: "http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css", rel: "stylesheet"} + %link{ href: "http://code.jquery.com/ui/#{Rack::JQueryUI::JQUERY_UI_VERSION}/themes/base/jquery-ui.css", rel: "stylesheet"} :css body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; font-size: 62.5%; } @@ -69,11 +69,11 @@ @@cloudflare %html %head = Rack::JQuery.cdn( :cloudflare ) = Rack::JQueryUI.cdn( :cloudflare ) - %link{ href: "http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css", rel: "stylesheet"} + %link{ href: "http://code.jquery.com/ui/#{Rack::JQueryUI::JQUERY_UI_VERSION}/themes/base/jquery-ui.css", rel: "stylesheet"} :css body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; font-size: 62.5%; } @@ -82,11 +82,11 @@ @@mediatemple %html %head = Rack::JQuery.cdn( :media_temple ) = Rack::JQueryUI.cdn( :media_temple ) - %link{ href: "http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css", rel: "stylesheet"} + %link{ href: "http://code.jquery.com/ui/#{Rack::JQueryUI::JQUERY_UI_VERSION}/themes/base/jquery-ui.css", rel: "stylesheet"} :css body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; font-size: 62.5%; } @@ -95,11 +95,11 @@ @@unspecified %html %head = Rack::JQuery.cdn() = Rack::JQueryUI.cdn() - %link{ href: "http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css", rel: "stylesheet"} + %link{ href: "http://code.jquery.com/ui/#{Rack::JQueryUI::JQUERY_UI_VERSION}/themes/base/jquery-ui.css", rel: "stylesheet"} :css body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; font-size: 62.5%; } @@ -109,10 +109,10 @@ @@ui %html %head = Rack::JQuery.cdn() = Rack::JQueryUI.cdn() - %link{ href: "http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css", rel: "stylesheet"} + %link{ href: "http://code.jquery.com/ui/#{Rack::JQueryUI::JQUERY_UI_VERSION}/themes/base/jquery-ui.css", rel: "stylesheet"} :css body { font-family: "Trebuchet MS", "Helvetica", "Arial", "Verdana", "sans-serif"; font-size: 62.5%; } \ No newline at end of file