fix a minor type warning

R=chrishenry
DELTA=3 (0 added, 0 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6130


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2435 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Introduces goog.ui.Component#getElementStrict. It differs from
#getElement in that it first asserts that this.element_ is not
null.

This allows developers to get !Element in cases where they are
sure that the component has been rendered/decorated.

R=nnaze
DELTA=15 (15 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6131


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2436 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

Small change to goog.dom.classes so that setting the classname attribute goes through one method.

Motivation: Currently this file does not work with SVG elements. To get or modify the classname attribute of SVG element, you must call getAttribute('class) and setAttribute('class', value) instead of accessing directly with .classname. I think another CL would make that change. But in the meantime with this change, the goog.dom.classes.set & .get functions can be overridden if necessary and then the rest of the functions in this file will continue to work.

This is just one small step to get some feedback from the Closure team before proceeding further.

R=closure-team,chrishenry,nnaze,vbhasin,nicksantos
DELTA=4 (0 added, 0 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6132


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2437 0b95b8e8-c90f-11de-9d4f-f947ee5921c8