'thing.aborts' fix when using Moz AST
This commit is contained in:
parent
e7b9b4aafb
commit
a378330ca6
|
|
@ -6275,7 +6275,7 @@ Compressor.prototype.compress = function(node) {
|
|||
|
||||
// tell me if a statement aborts
|
||||
function aborts(thing) {
|
||||
return thing && thing.aborts();
|
||||
return thing && thing.aborts && thing.aborts();
|
||||
}
|
||||
(function(def) {
|
||||
def(AST_Statement, return_null);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user