fix again reserved props
This commit is contained in:
parent
e48db3a8b6
commit
44fd6694eb
|
|
@ -149,6 +149,7 @@ function mangle_properties(ast, options) {
|
|||
}
|
||||
|
||||
function should_mangle(name) {
|
||||
if (reserved.indexOf(name) >= 0) return false;
|
||||
return cache.props.has(name)
|
||||
|| names_to_mangle.indexOf(name) >= 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user