mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
improve error handling
This commit is contained in:
1 parent
b41ad227c1
commit
794c5d1ad8
7 files changed
+46
-24
No files matched your search
@@ -677,6 +677,13 @@ define(function (require, exports, module) {
|
||||
if (node.type === "SequenceExpression") {
|
||||
node = node.expressions[0];
|
||||
}
|
||||
if (node.type === "BinaryExpression") {
|
||||
if (node.left.type === "CallExpression") {
|
||||
node = node.left;
|
||||
} else if (node.right.type === "CallExpression") {
|
||||
node = node.right;
|
||||
}
|
||||
}
|
||||
if (node.type === "CallExpression") {
|
||||
var args = node["arguments"],
|
||||
i,
|
||||
|
||||
Reference in new issue
Block a user