Created
February 6, 2015 19:38
-
-
Save santosh79/824ce1c27a86966dae68 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function handleSearchRequests(req, res) { | |
var isAToggleSearch = (req.params['toggle'] === 'A'); | |
if (isAToggleSearch) { | |
doToggleSearch(req.params, res); | |
} else { | |
doRegularSearch(req.params, res); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment