fix again reserved props

This commit is contained in:
Mihai Bazon
2015-05-13 22:03:00 +03:00
parent e48db3a8b6
commit 44fd6694eb

View File

@@ -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;
}