nl_tokens: Sets the value for a property on a node .
pl_tokens: function setValueForProperty ( <mask> , name , value ) { var propertyInfo = getPropertyInfo ( name ) ; if ( propertyInfo && shouldSetAttribute ( name , value ) ) { var mutationMethod = propertyInfo . mutationMethod ; if ( mutationMethod ) { mutationMethod ( node , value ) ; } else if ( shouldIgnoreValue ( propertyInfo , value ) ) { deleteValueForProperty ( node , name ) ; return ; } else if ( propertyInfo . mustUseProperty ) { // Contrary to `setAttribute`, object properties are properly // `toString`ed by IE8/9. node [ propertyInfo . propertyName ] = value ; } else { var attributeName = propertyInfo . attributeName ; var namespace = propertyInfo . attributeNamespace ; // `setAttribute` with objects becomes only `[object]` in IE8/9, // ('' + value) makes it output the correct toString()-value. if ( namespace ) { node . setAttributeNS ( namespace , attributeName , '' + value ) ; } else if ( propertyInfo . hasBooleanValue || propertyInfo . hasOverloadedBooleanValue && value === true ) { node . setAttribute ( attributeName , '' ) ; } else { node . setAttribute ( attributeName , '' + value ) ; } } } else { setValueForAttribute ( node , name , shouldSetAttribute ( name , value ) ? value : null ) ; return ; } { } }