Index: remoting/webapp/js_proto/sinon_proto.js |
diff --git a/remoting/webapp/js_proto/sinon_proto.js b/remoting/webapp/js_proto/sinon_proto.js |
index bc39ea5146171e52e34ccc60bc45b3db7fa7c422..f33d15f71dbecff985d71eb46e2a318b0ea8b5e0 100644 |
--- a/remoting/webapp/js_proto/sinon_proto.js |
+++ b/remoting/webapp/js_proto/sinon_proto.js |
@@ -94,9 +94,10 @@ sinon.Spy.prototype.reset = function() {}; |
/** |
* @param {Object} obj |
* @param {string} method |
+ * @param {Function=} opt_stubFunction |
* @return {sinon.TestStub} |
*/ |
-sinon.stub = function(obj, method) {}; |
+sinon.stub = function(obj, method, opt_stubFunction) {}; |
/** @constructor */ |
sinon.TestStub = function() {}; |