1
0
Fork 0

ElementStyler: Remove change_event error

The intent wasn't go have this be permanant, and apparently it _is_ being
used in generated code!

* src/ui/ElementStyler.js (setValueByName): Remove error on `change_event'.
master
Mike Gerwitz 2018-02-06 16:58:33 -05:00
parent ab7855bff5
commit 51e8c1428f
1 changed files with 0 additions and 8 deletions

View File

@ -452,14 +452,6 @@ module.exports = Class( 'ElementStyler',
{
change_event = ( change_event === undefined ) ? true : change_event;
// just to be sure before we fully remove this
if ( change_event !== false )
{
throw Error(
"ElementStyler#setValueByName change_event is being removed"
);
}
// set value
switch ( this._getElementType( name ) )
{