File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
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' :
Original file line number Diff line number Diff line change @@ -659,7 +659,7 @@ def _translate_glob(pat):
659
659
translated_parts .append (_translate_glob_part (part ))
660
660
os_sep_class = '[%s]' % re .escape (SEPARATORS )
661
661
res = _join_translated (translated_parts , os_sep_class )
662
- return '{res}\\ Z(?ms) ' .format (res = res )
662
+ return '(?ms) {res}\\ Z' .format (res = res )
663
663
664
664
665
665
def _join_translated (translated_parts , os_sep_class ):
You can’t perform that action at this time.
0 commit comments