Skip to content

Commit 238f14b

Browse files
committed
Add some jsdoc
1 parent 698fe79 commit 238f14b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

lib/sinon/proxy-call.js

+14
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ var map = arrayProto.map;
1414
var reduce = arrayProto.reduce;
1515
var slice = arrayProto.slice;
1616

17+
/**
18+
* @param proxy
19+
* @param text
20+
* @param args
21+
*/
1722
function throwYieldError(proxy, text, args) {
1823
var msg = functionName(proxy) + text;
1924
if (args.length) {
@@ -250,6 +255,15 @@ Object.defineProperty(callProto, "stack", {
250255

251256
callProto.invokeCallback = callProto.yield;
252257

258+
/**
259+
* @param proxy
260+
* @param thisValue
261+
* @param args
262+
* @param returnValue
263+
* @param exception
264+
* @param id
265+
* @param errorWithCallStack
266+
*/
253267
function createProxyCall(
254268
proxy,
255269
thisValue,

0 commit comments

Comments
 (0)