kieran / barista

A URL router / generator for NodeJS
https://kieran.github.io/barista/
MIT License
111 stars 22 forks source link

Global var leakage #1

Closed msuess closed 12 years ago

msuess commented 12 years ago

The variable "part" used in the while loop at route.js:300 leaks into the global namespace because it is not declared beforehand. Mocha notified me of this. It's fixed now :)

msuess commented 12 years ago

PS use mocha ;)

kieran commented 12 years ago

I should really get on this mocha thing ;-) Thanks!