Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(request-builder): incorrect jsonp callback property name
  • Loading branch information
EisenbergEffect committed Mar 23, 2015
1 parent c70eedd commit 267ec3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/request-builder.js
Expand Up @@ -84,10 +84,10 @@ RequestBuilder.addHelper('asPut', function(){
};
});

RequestBuilder.addHelper('asJsonp', function(jsonpParameterName){
RequestBuilder.addHelper('asJsonp', function(callbackParameterName){
this.useJsonp = true;
return function(client, processor, message){
message.jsonpParameterName = jsonpParameterName;
message.callbackParameterName = callbackParameterName;
};
});

Expand Down

0 comments on commit 267ec3e

Please sign in to comment.