@@ -147,13 +147,13 @@ define([
147
147
} ;
148
148
149
149
// methods for sending messages
150
- Comm . prototype . open = function ( data , callbacks , metadata ) {
150
+ Comm . prototype . open = function ( data , callbacks , metadata , buffers ) {
151
151
var content = {
152
152
comm_id : this . comm_id ,
153
153
target_name : this . target_name ,
154
154
data : data || { } ,
155
155
} ;
156
- return this . kernel . send_shell_message ( "comm_open" , content , callbacks , metadata ) ;
156
+ return this . kernel . send_shell_message ( "comm_open" , content , callbacks , metadata , buffers ) ;
157
157
} ;
158
158
159
159
Comm . prototype . send = function ( data , callbacks , metadata , buffers ) {
@@ -163,13 +163,13 @@ define([
163
163
} ;
164
164
return this . kernel . send_shell_message ( "comm_msg" , content , callbacks , metadata , buffers ) ;
165
165
} ;
166
-
167
- Comm . prototype . close = function ( data , callbacks , metadata ) {
166
+
167
+ Comm . prototype . close = function ( data , callbacks , metadata , buffers ) {
168
168
var content = {
169
169
comm_id : this . comm_id ,
170
170
data : data || { } ,
171
171
} ;
172
- return this . kernel . send_shell_message ( "comm_close" , content , callbacks , metadata ) ;
172
+ return this . kernel . send_shell_message ( "comm_close" , content , callbacks , metadata , buffers ) ;
173
173
} ;
174
174
175
175
// methods for registering callbacks for incoming messages
0 commit comments