Skip to content
Snippets Groups Projects
Commit f2f125a3 authored by murgatroid99's avatar murgatroid99
Browse files

Switch 'apply' for 'call' in pass-through functions

parent ffac55df
No related branches found
No related tags found
No related merge requests found
...@@ -899,7 +899,7 @@ exports.makeClientConstructor = function(methods, serviceName, ...@@ -899,7 +899,7 @@ exports.makeClientConstructor = function(methods, serviceName,
* @return {Channel} The channel * @return {Channel} The channel
*/ */
exports.getClientChannel = function(client) { exports.getClientChannel = function(client) {
return Client.prototype.getChannel.apply(client); return Client.prototype.getChannel.call(client);
}; };
/** /**
...@@ -915,7 +915,7 @@ exports.getClientChannel = function(client) { ...@@ -915,7 +915,7 @@ exports.getClientChannel = function(client) {
* to connect. * to connect.
*/ */
exports.waitForClientReady = function(client, deadline, callback) { exports.waitForClientReady = function(client, deadline, callback) {
Client.prototype.waitForReady.apply(client, deadline, callback); Client.prototype.waitForReady.call(client, deadline, callback);
}; };
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment