Open GoogleCodeExporter opened 9 years ago
This is not a bug and there is no "fix" for this. The correct way to add
params is to do so in the constructor.
Is there some way we can change the documentation to clarify this? Better yet,
would you be willing to clarify this in the documentation? (the docs are
editable by anyone).
Original comment by richarda...@gmail.com
on 21 Dec 2010 at 10:58
using constructor to add params doesn't allow to remove predefined parameters
(onload, onerror, onlog). Is required for those parameters to always exist?
Original comment by l.bartol...@gmail.com
on 22 Dec 2010 at 10:30
you can reset them with:
m_supportedParamSet.clear()
and then add the ones you need. I realize that this is slightly inefficient,
but the performance hit is so minuscule in comparison to everything else going
to (and constant time to boot) that it seemed preferable to not providing any
defaults.
Original comment by richarda...@gmail.com
on 22 Dec 2010 at 5:21
As a sidenote, this is now a non-issue in 1.4 since m_supportedParamSet is no
longer needed and has been removed.
Original comment by richarda...@gmail.com
on 23 Jan 2011 at 2:29
Original issue reported on code.google.com by
l.bartol...@gmail.com
on 21 Dec 2010 at 6:05