Is this the right forum to post this to?
In jRails.js there is a call to
hide
in which hide takes four parameters.
Where is that hide defined?
Is this the right forum to post this to?
In jRails.js there is a call to
hide
in which hide takes four parameters.
Where is that hide defined?
Ralph S. wrote:
Is this the right forum to post this to?
In jRails.js there is a call to
hide
in which hide takes four parameters.Where is that hide defined?
To answer my own question … so for the next poor schmuck who doesn’t
know any Javascript …
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.
On Thu, Apr 1, 2010 at 1:11 PM, Ralph S. [email protected]
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 tohide: 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
Hassan S. ------------------------ [email protected]
twitter: @hassan
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs