overlord 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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