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