Created
June 12, 2011 04:04
-
-
Save brikis98/1021242 to your computer and use it in GitHub Desktop.
CoffeeScript string interpolation
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
url = "#{LinkedInClient.baseUrl}/v1/groups/#{id}/posts:(#{LinkedInClient.groupFields.join(',')})?count=10" | |
@oauth.getProtectedResource url, 'GET', @tokens.oauthAccessToken, @tokens.oauthAccessTokenSecret, (error, data, response) => | |
# ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See CoffeeScript: JavaScript that’s easy on the eyes for more information.