aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2013-03-25 16:11:07 +0100
committerMichał Gołębiowski <m.goleb@gmail.com>2013-03-25 17:03:21 +0100
commit75f0bbe6e8a243571860626631a820b0787b9990 (patch)
tree9f26ef1f774fe09bf849d38753d2cd0e88312f5b /lib
parent478bf4dbdde27f1110e36a56a2f9be6c11847b68 (diff)
downloadtracifyjs-75f0bbe6e8a243571860626631a820b0787b9990.tar.gz
tracifyjs-75f0bbe6e8a243571860626631a820b0787b9990.zip
renamed --screw-ie to --screw-ie8, documented it in README.md, indicated it doesn't break IE9+
Diffstat (limited to 'lib')
-rw-r--r--lib/scope.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/scope.js b/lib/scope.js
index 503c1890..ea271639 100644
--- a/lib/scope.js
+++ b/lib/scope.js
@@ -64,7 +64,7 @@ SymbolDef.prototype = {
mangle: function(options) {
if (!this.mangled_name && !this.unmangleable(options)) {
var s = this.scope;
- if (this.orig[0] instanceof AST_SymbolLambda && !options.screw_ie)
+ if (this.orig[0] instanceof AST_SymbolLambda && !options.screw_ie8)
s = s.parent_scope;
this.mangled_name = s.next_mangled(options);
}
@@ -343,7 +343,7 @@ AST_Toplevel.DEFMETHOD("_default_mangler_options", function(options){
eval : false,
sort : false,
toplevel : false,
- screw_ie : false
+ screw_ie8 : false
});
});