I find this is a common problem when working in Shindig :)

-Ryan




From:   Henry Saputra <[email protected]>
To:     [email protected], 
Date:   06/20/2012 07:58 PM
Subject:        Re: Why is the gadgets.util.getUrlParameters "var 
parameters" has already set when first called?



Never mind, I think I am losing my mind =P

False alarm =)

- Henry

On Wed, Jun 20, 2012 at 11:14 AM, Henry Saputra <[email protected]> 
wrote:
> Hi Guys,
>
> Been trying to figure out why gadgets.util.getUrlParameters call
> always return empty object. Looks like the global var used to cache it
> being set already.
>
> So the check
>
> gadgets.util.getUrlParameters = function(opt_url) {
>    var no_opt_url = typeof opt_url === 'undefined';
>    if (parameters !== null && no_opt_url) {
>      // "parameters" is a cache of current window params only.
>      return parameters;
>    }
>
> ....
>
>
> Always return empty object.
>
> Been trying to debug this but couldnt figure out when its set.
>
>
> - Henry


Reply via email to