s3u/JSONPath — pull request #12 by jonathana (2012-10-02 18:57:03+00:00)
Title: Fix global leak of ret in JSONPath.normalize()

Fix global leak of ret in jsonPath.normalize().

While writing mocha tests around some use of JSONPath, it found a global declaration of ret in normalize() versus var. There appears to be no reason why ret would be a global in this context, and in other versions of the codebase--on google code--the value is just returned raw because there's no caching in place anyway.