Advertisement
Guest User

Untitled

a guest
Apr 26th, 2015
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. queryString = (params) ->
  2. _.map params, (value, key) ->
  3. encodeURIComponent(key) + "=" + encodeURIComponent(value)
  4. .join("&").replace(/%20/g, "+")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement