diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-12 18:48:08 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-02-12 18:48:08 +0000 |
commit | ebdb766e7956520e9e5a784e280a8f1916f50511 (patch) | |
tree | 14749af9395b225cc609e4b1e12fcb84723f942a /actionpack/CHANGELOG | |
parent | a32a9863640dbd7a74b251e5467f90d134396110 (diff) | |
download | rails-ebdb766e7956520e9e5a784e280a8f1916f50511.tar.gz rails-ebdb766e7956520e9e5a784e280a8f1916f50511.tar.bz2 rails-ebdb766e7956520e9e5a784e280a8f1916f50511.zip |
Added element and collection proxies to RJS [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r-- | actionpack/CHANGELOG | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index 79a77ebe4b..d23d46e2bb 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,15 @@ *SVN* +* Added element and collection proxies to RJS [DHH]. Examples: + + page['blank_slate'] # => $('blank_slate'); + page['blank_slate'].show # => $('blank_slate').show(); + page['blank_slate'].show('first').up # => $('blank_slate').show('first').up(); + + page.select('p') # => $$('p'); + page.select('p.welcome b').first # => $$('p.welcome b').first(); + page.select('p.welcome b').first.hide # => $$('p.welcome b').first().hide(); + * Add JavaScriptGenerator#replace_element for replacing an element's "outer HTML". #3246 [tom@craz8.com, Sam Stephenson] * Remove over-engineered form_for code for a leaner implementation. [Nicholas Seckar] |