Skip to content

Commit

Permalink
Releasing AMDclean 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gfranko committed Jun 6, 2014
1 parent ce5d2f9 commit ea5c1a1
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 9 deletions.
6 changes: 5 additions & 1 deletion build/amdclean.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,11 @@ utils = function () {
'value': 'function'
}
};
return _.where(node.test, matchObject).length || _.where([node.test], matchObject).length || _.where(node.test.left, matchObject).length || _.where([node.test.left], matchObject).length;
try {
return _.where(node.test, matchObject).length || _.where([node.test], matchObject).length || _.where(node.test.left, matchObject).length || _.where([node.test.left], matchObject).length;
} catch (e) {
return false;
}
},
'returnExpressionIdentifier': function (name) {
return {
Expand Down
Loading

0 comments on commit ea5c1a1

Please sign in to comment.