stoltene2/jasminejs-mode — pull request #1 by strawhatguy (2014-12-09 04:46:45+00:00)
Title: Recurse upwards if the appropriate function was shadowed by another

Added a test which caused a problem for the 'it' and 'describe' function-call finder function.

It basically recurses upwards if the backwards regex search thinks if finds it, but is actually a similar-ending function call name.

For example a call to a 'somefunctionit' with the 'it' at the end would shadow the jasmine it call