overlord 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/helpers/overlord_google_helper.rb +4 -4
- data/overlord.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.9
|
@@ -313,17 +313,17 @@ module OverlordGoogleHelper
|
|
313
313
|
end
|
314
314
|
|
315
315
|
# Output include script to load jquery from google
|
316
|
-
def google_load_jquery
|
316
|
+
def google_load_jquery(version = '1.4.0')
|
317
317
|
return '' if defined?(@google_load_jquery_included)
|
318
318
|
@google_load_jquery_included = true
|
319
|
-
google_ajax_api_scripts
|
319
|
+
%Q{#{google_ajax_api_scripts}<script type="text/javascript">google.load("jquery", "#{version}");</script>}
|
320
320
|
end
|
321
321
|
|
322
322
|
# Output include script to load jquery ui from google
|
323
|
-
def google_load_jquery_ui
|
323
|
+
def google_load_jquery_ui(version = '1.7.2')
|
324
324
|
return '' if defined?(@google_load_jquery_ui_included)
|
325
325
|
@google_load_jquery_ui_included = true
|
326
|
-
google_ajax_api_scripts
|
326
|
+
%Q{#{google_ajax_api_scripts}<script type="text/javascript">google.load("jqueryui", "#{version}");</script>}
|
327
327
|
end
|
328
328
|
|
329
329
|
def change_chars(term)
|
data/overlord.gemspec
CHANGED