make minification.renameLocalVariables work

This commit is contained in:
Sebastian McKenzie
2015-02-12 07:46:34 +11:00
parent 5ff0285ba7
commit efe3f30741

View File

@@ -2,10 +2,8 @@
exports.optional = true;
exports.Scope = function () {
// todo: get all binding identifiers, generate compact names
// that wont collide and then call the remap identifier helper
// this transformer **has** to be ran last as it will absolutley
// destroy the scope tree
exports.Scopable = function (node, parent, scope) {
//for (var name in scope.bindings) {
// scope.rename(name, scope.generateUidIdentifier("a").name);
//}
};