While I think this is a fairly common use case, I'm negative on adding
the method.
Adding ~50 bytes to gadgets.core so developers can call
{{{
gadgets.util.getContainer()
}}}
instead of
{{{
gadgets.util.getUrlParameters().container
}}}
doesn't seem worth it to me - especially considering that if there are
any extra url parameters the user might want to access in the future
it's more methods to add (and provide legacy support for).
If documentation is the issue, then documenting "getUrlParameters()"
would be easier IMO.
(not sure if I've missed some discussion on this)
Tim
http://codereview.appspot.com/1760044/show