Skip to content

Instantly share code, notes, and snippets.

@mrvdb
Created June 13, 2014 13:44
Show Gist options
  • Select an option

  • Save mrvdb/6a8cf09c7be1eafc09f5 to your computer and use it in GitHub Desktop.

Select an option

Save mrvdb/6a8cf09c7be1eafc09f5 to your computer and use it in GitHub Desktop.
Syntax error diff
$hg diff
diff -r d2208a4ed5c8 src/facebook.coffee
--- a/src/facebook.coffee Thu Jun 12 20:58:06 2014 +0200
+++ b/src/facebook.coffee Fri Jun 13 15:43:30 2014 +0200
@@ -81,7 +81,7 @@
recipientUser: me
created: Date.now()
, callback
- ], (err, result) ->
+ ], (err, result) ->
#console.log result
#console.log 'done.'
callback null, 'done'
diff -r d2208a4ed5c8 src/google.coffee
--- a/src/google.coffee Thu Jun 12 20:58:06 2014 +0200
+++ b/src/google.coffee Fri Jun 13 15:43:30 2014 +0200
@@ -159,7 +159,7 @@
callback null, friends
], (err, friends) ->
callback null, friends
- return
+ return
).on "error", (e) ->
console.log "Got error: " + e.message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment