This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
// Everything OK var observer = new MutationObserver(function(mutations) { var $viewWrappers = foo(); if ($viewWrappers) { } }); // $viewWrappers.length -> $viewWrappers wrongly considered to be global var observer = new MutationObserver(function(mutations) { var $viewWrappers = foo(); if ($viewWrappers.length) { } }); Thanks.
Fixed in web-main.
Integrated into 'main-silver', will be available in build *201504100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/a3ca5fc21bd3 User: Petr Pisl <ppisl@netbeans.org> Log: #250337 - Wrong global variable