Updated the exit method check so it can work with routes that have variables.
Updated the exit method check so it can work with routes that have variables.
yswang0927/pathjs,awj100/Routing.js,awj100/Routing.js,yswang0927/pathjs