File tree 1 file changed +2
-9
lines changed
1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 1
1
/* eslint camelcase: ['error', {allow: ['v_model']}] */
2
- import { JupyterPhosphorWidget , JupyterLuminoWidget } from '@jupyter-widgets/base' ;
2
+ import { JupyterPhosphorWidget } from '@jupyter-widgets/base' ;
3
3
import { vueTemplateRender } from './VueTemplateRenderer' ; // eslint-disable-line import/no-cycle
4
4
import { VueModel } from './VueModel' ;
5
5
import { VueTemplateModel } from './VueTemplateModel' ;
@@ -10,14 +10,7 @@ export function createObjectForNestedModel(model, parentView) {
10
10
mounted ( ) {
11
11
parentView
12
12
. create_child_view ( model )
13
- . then ( view => {
14
- if ( JupyterPhosphorWidget ) {
15
- /* backward compatability for jupyter-widgets < 8.0 */
16
- JupyterPhosphorWidget . attach ( view . pWidget , this . $el )
17
- } else {
18
- JupyterLuminoWidget . attach ( view . luminoWidget , this . $el )
19
- }
20
- } ) ;
13
+ . then ( view => JupyterPhosphorWidget . attach ( view . pWidget , this . $el ) ) ;
21
14
} ,
22
15
render ( createElement ) {
23
16
return createElement ( 'div' , { style : { height : '100%' } } ) ;
You can’t perform that action at this time.
0 commit comments