de_rjs 0.4.0 → 0.4.1
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.
- checksums.yaml +4 -4
- data/lib/de_rjs/jquery_generator.rb +5 -1
- 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: 0cb5070d80456eed3d309af1d97f7cc475017dfa
|
|
4
|
+
data.tar.gz: bff3f65ca263d976f3683c7ee7c211cb801cca5a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e945e642672557ae3dec919b6be8817c0058a9e9f5e8b3ed35e11395bfea6d72971bc564335227fd8291dce10b4df025d45893efc8df71836699bd4fbc762d9
|
|
7
|
+
data.tar.gz: cb30b874cc9324e3c8223031755364f50a4e2c41fd2b75ec4c6e08a70e8500f6ad18d37b32f8323f72d5b6db31e96ff12a8759ee05e257b604f24dc53dbee2ee
|
|
@@ -596,7 +596,7 @@ module DeRjs
|
|
|
596
596
|
end
|
|
597
597
|
|
|
598
598
|
def known_jquery_methods
|
|
599
|
-
%w(hide show first last)
|
|
599
|
+
%w(hide show first last remove focus)
|
|
600
600
|
end
|
|
601
601
|
|
|
602
602
|
def warn(method, *arguments)
|
|
@@ -662,6 +662,10 @@ module DeRjs
|
|
|
662
662
|
append_to_function_chain!(@generator.send(:jquery_ui_effect, name, options))
|
|
663
663
|
end
|
|
664
664
|
|
|
665
|
+
def add_class_name(class_name)
|
|
666
|
+
call 'addClass', class_name
|
|
667
|
+
end
|
|
668
|
+
|
|
665
669
|
def reload(options_for_replace = {})
|
|
666
670
|
replace(options_for_replace.merge({ :partial => @id.to_s.sub(/^#/,'') }))
|
|
667
671
|
end
|