File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -197,8 +197,8 @@ class RenderableView extends widgets.DOMWidgetView {
197
197
}
198
198
}
199
199
200
- processPhosphorMessage ( msg ) {
201
- widgets . DOMWidgetView . prototype . processPhosphorMessage . call ( this , msg ) ;
200
+ _processLuminoMessage ( msg , _super ) {
201
+ _super . call ( this , msg ) ;
202
202
switch ( msg . type ) {
203
203
case 'after-attach' :
204
204
this . el . addEventListener ( 'contextmenu' , this , true ) ;
@@ -209,6 +209,14 @@ class RenderableView extends widgets.DOMWidgetView {
209
209
}
210
210
}
211
211
212
+ processPhosphorMessage ( msg ) {
213
+ this . _processLuminoMessage ( msg , widgets . DOMWidgetView . prototype . processPhosphorMessage ) ;
214
+ }
215
+
216
+ processLuminoMessage ( msg ) {
217
+ this . _processLuminoMessage ( msg , widgets . DOMWidgetView . prototype . processLuminoMessage ) ;
218
+ }
219
+
212
220
handleEvent ( event ) {
213
221
switch ( event . type ) {
214
222
case 'contextmenu' :
You can’t perform that action at this time.
0 commit comments