Skip to content

bug of function removeClass #76

@jzlxiaohei

Description

@jzlxiaohei

vue.js(for dev) , Line 817, removeClass funciton,else branch

             //assume el.className='red yellow green'
             el.className = (' ' + 'red yellow green' + ' ')
            .replace(' ' + 'yellow' + ' ', '')
            .trim()
            // will be 'redgreen',not 'red green' 

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions