rpflorence/detect-globals — pull request #2 by millermedeiros (2013-09-11 15:26:05+00:00)
Title: fix some edge cases related to function params and methods that references `this`

This fixes most of the false positives on jQuery source code (2 pending: `value` and `callbackName`).

Implementation is still *brittle*, specially since user might change the execution context with `apply`, `call` or depending on how he calls the method (eg. callback is an Identifier and/or MemberExpression).