On Thu, Apr 1, 2010 at 1:11 PM, Ralph Shnelvar <lists@ruby-forum.com> wrote:
>> Is this the right forum to post this to?
Not really, but... :-)
>
> Using firebug and the wonderful http://jsbeautifier.org/
> to unminimize javascripts so that you can actually use Firebug to track
> through the code ... one discovers that the hide is going to
>
> hide: function () {
> if (!arguments[0] || (arguments[0].constructor == Number ||
> ...
> },
> The answer is that hide:function can take an arbitrary number of
> arguments. The value of the arguments is stored an array as a local
> variable called "arguments"
> If anyone can point me to the reference that shows what the
> "hide:function" syntax is defined, I would be grateful.
I would think you'd be able to tell more from looking at the code of the
function in question than from any doc, but <http://api.jquery.com/hide/>
would be the place. Assuming this *is* the jQuery 'hide' and not that of
prototype.js :-)
HTH,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment