eita-jrails 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/action_view/helpers/jquery_helper.rb +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1646898e44a36437a506d7527bc015fa739c43b6
|
4
|
+
data.tar.gz: 31166bdfbb331d78f154100c06cafa02c990195f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0866a50f010be1c66bd557676e4b8233f366479cf06095d9b883f4bf0c7dfddf74899f6da09c617d2b1a3cdbe878159d09be683a856cd420321637eb0fbf4b01
|
7
|
+
data.tar.gz: 7d8ce388df7fd7a80c75b5e3233d9128b944f191f9e132882f6a30a1de7085b50952b04aefdd50bf60d5bef0aa87599bdc58c63e34e15e333254c828f53ac27d
|
@@ -472,6 +472,14 @@ module ActionView
|
|
472
472
|
end
|
473
473
|
|
474
474
|
protected
|
475
|
+
def options_for_javascript(options)
|
476
|
+
if options.empty?
|
477
|
+
'{}'
|
478
|
+
else
|
479
|
+
"{#{options.keys.map { |k| "#{k}:#{options[k]}" }.sort.join(', ')}}"
|
480
|
+
end
|
481
|
+
end
|
482
|
+
|
475
483
|
def options_for_ajax(options)
|
476
484
|
js_options = build_callbacks(options)
|
477
485
|
|