oops!
I wanted to reference the values at fb.offSet.x so returning {x:w,y:h}
was perfect.
Obviously my understanding/comprehension of POJOs is a little lacking
as i thought i needed to return a some of hashed value to create the
reference.
Thanks for your help.
Techno~
On Dec 9, 11:40 am, "Tec
Hi,
No you have understood me perfectly and provided the solution:
I wanted t
On Dec 9, 10:33 am, "T.J. Crowder" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Apologies in advance if I've misunderstood.
>
> > How do I reference these returned hash values?
>
> But it's no longer a Hash. You've convert
Hi,
Apologies in advance if I've misunderstood.
> How do I reference these returned hash values?
But it's no longer a Hash. You've converted it to a string using
Hash#toJSON[1]. If you want it to be a Hash, don't convert it to a
string. Change this:
return $H({x: w, y: h}).toJSON();
to