Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

slightly more straightforward expression

  • Loading branch information...
commit 1f7e8bdf5eee96181930a7a8ed907b55365b0d86 1 parent 5f8ce65
@mental authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/Actor.coffee
View
6 src/Actor.coffee
@@ -299,12 +299,10 @@ setErrorHandler = (callback) ->
error_handler = callback
sendback = (f) ->
- actor_id = self()
- sendbackTo actor_id, f
+ sendbackTo self(), f
sendbackTo = (actor_id, f) ->
- (args...) ->
- WebActors.send actor_id, f.apply(this, args)
+ -> WebActors.send actor_id, f.apply(this, arguments)
WebActors.spawn = spawn
WebActors.spawnLinked = spawnLinked
Please sign in to comment.
Something went wrong with that request. Please try again.