Skip to content

Commit 260d21f

Browse files
committed
Fix demo for custom class
1 parent 6250275 commit 260d21f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ <h1><div><a href="https://root.cern/js/">JSROOT</a></div><a id="version" href="h
434434
{ name: 'Context menu', url: 'demo/context_menu.htm', title: 'Custom context menu for TH2 histograms', src: true },
435435
{ name: 'Zooming', url: 'demo/zoom_handler.htm', title: 'Redefine Zoom function to make synchronous zooming in other histogram', src: true },
436436
{ name: 'User IO', url: `index.htm?file=${filepath}amore.root&item=moH1F_0;1&inject=../demo/amore.mjs`, title : 'Example of custom streamer and custom draw function (AMORE)', src: 'demo/amore.mjs' },
437-
{ name: 'User class', url: 'index.htm?file=demo/custom/divhist.root&inject=demo/custom/divhist.js&item=DivHist', title : 'Example of draw function for custom user class', src: 'demo/custom/divhist.js' },
437+
{ name: 'User class', url: 'index.htm?file=demo/custom/divhist.root&inject=../demo/custom/divhist.mjs&item=DivHist', title : 'Example of draw function for custom user class', src: 'demo/custom/divhist.mjs' },
438438
{ name: 'Store JSON', url: 'demo/store_json.htm', title: 'Store drawn objects into JSON, can be reused to display once again', src: true },
439439
{ name: 'build3d', url: 'demo/build3d.htm', title: 'Example how one can create three.js model for different classes, using generic build3d() function', src: 'demo/build3d.htm' },
440440
{ name: 'Geometry', url: 'demo/tgeo_build.htm', title: 'Example how one can create three.js model for TGeo object, using build() function from geom/TGeoPainter.mjs', src: 'demo/tgeo_build.htm' },

0 commit comments

Comments
 (0)