@@ -117,14 +117,14 @@ export class CytoscapeView extends DOMWidgetView {
117117 this . nodeViews = new widgets . ViewList (
118118 this . addNodeModel ,
119119 this . removeNodeView ,
120- this
120+ this ,
121121 ) ;
122122 this . nodeViews . update ( this . model . get ( 'graph' ) . get ( 'nodes' ) ) ;
123123
124124 this . edgeViews = new widgets . ViewList (
125125 this . addEdgeModel ,
126126 this . removeEdgeView ,
127- this
127+ this ,
128128 ) ;
129129 this . edgeViews . update ( this . model . get ( 'graph' ) . get ( 'edges' ) ) ;
130130 this . cytoscape_obj . endBatch ( ) ;
@@ -145,18 +145,18 @@ export class CytoscapeView extends DOMWidgetView {
145145 this . model . on (
146146 'change:user_zooming_enabled' ,
147147 this . _updateUserZoomingEnabled ,
148- this
148+ this ,
149149 ) ;
150150 this . model . on ( 'change:panning_enabled' , this . _updatePanningEnabled , this ) ;
151151 this . model . on (
152152 'change:user_panning_enabled' ,
153153 this . _updateUserPanningEnabled ,
154- this
154+ this ,
155155 ) ;
156156 this . model . on (
157157 'change:box_selection_enabled' ,
158158 this . _updateBoxSelectionEnabled ,
159- this
159+ this ,
160160 ) ;
161161 this . model . on ( 'change:selection_type' , this . _updateSelectionType , this ) ;
162162 this . model . on ( 'change:touch_tap_threshold' , this . value_changed , this ) ;
@@ -171,7 +171,7 @@ export class CytoscapeView extends DOMWidgetView {
171171 this . model . on (
172172 'change:_interaction_handlers' ,
173173 this . listenForUserEvents ,
174- this
174+ this ,
175175 ) ;
176176
177177 const layout = this . model . get ( 'layout' ) ;
@@ -309,20 +309,20 @@ export class CytoscapeView extends DOMWidgetView {
309309 }
310310 private _updateUserZoomingEnabled ( ) {
311311 this . cytoscape_obj . userZoomingEnabled (
312- this . model . get ( 'user_zooming_enabled' )
312+ this . model . get ( 'user_zooming_enabled' ) ,
313313 ) ;
314314 }
315315 private _updatePanningEnabled ( ) {
316316 this . cytoscape_obj . panningEnabled ( this . model . get ( 'panning_enabled' ) ) ;
317317 }
318318 private _updateUserPanningEnabled ( ) {
319319 this . cytoscape_obj . userPanningEnabled (
320- this . model . get ( 'user_panning_enabled' )
320+ this . model . get ( 'user_panning_enabled' ) ,
321321 ) ;
322322 }
323323 private _updateBoxSelectionEnabled ( ) {
324324 this . cytoscape_obj . boxSelectionEnabled (
325- this . model . get ( 'box_selection_enabled' )
325+ this . model . get ( 'box_selection_enabled' ) ,
326326 ) ;
327327 }
328328 private _updateSelectionType ( ) {
@@ -357,7 +357,7 @@ export class CytoscapeView extends DOMWidgetView {
357357 */
358358 _addElementListeners (
359359 ele : cytoscape . CollectionReturnValue ,
360- view : DOMWidgetView
360+ view : DOMWidgetView ,
361361 ) {
362362 ele . on ( 'select' , ( event ) => {
363363 view . model . set ( 'selected' , true ) ;
0 commit comments