SaltwaterC/aws2js — Issue #6: Rename .call due to ambiguity with Function.prototype.call
Author: tillberg
Created: 2011-11-05 19:36:20+00:00
State: open

Great work on refactoring/rewriting aws-lib and all the effort to add documentation. I love it.

One holdover from aws-lib that might be nice to remove is the naming of the main "call" function. It looks a little ambiguous as many JS developers are used to using Function.prototype.call to pass context to a function.

I propose renaming this to "request" (though there may be a better name). The "call" function still works, though it outputs a warning message to console.error.

I'm attaching a pull request on the future branch with the proposed change.

Thanks!