Skip to content

Commit

Permalink
Merge pull request calatrava#16 from rtircher/master
Browse files Browse the repository at this point in the history
Pass the success and failure handlers through.
  • Loading branch information
gga committed Nov 5, 2012
2 parents 3248fe6 + db3b033 commit 734453d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/calatrava/templates/kernel/app/calatrava.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ calatrava.bridge.requests = (() ->
method: method
body: bodyStr
headers: customHeaders
success: success
failure: failure

successfulResponse: (requestId, response) ->
successHandlersById[requestId](response)
Expand Down

0 comments on commit 734453d

Please sign in to comment.