File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 6666 "gl-line3d" : " ^1.1.0" ,
6767 "gl-mat4" : " ^1.1.2" ,
6868 "gl-mesh3d" : " ^1.2.0" ,
69- "gl-plot2d" : " ^1.1.9 " ,
69+ "gl-plot2d" : " ^1.2.0 " ,
7070 "gl-plot3d" : " ^1.5.1" ,
7171 "gl-pointcloud2d" : " ^1.0.0" ,
7272 "gl-scatter2d" : " ^1.2.0" ,
Original file line number Diff line number Diff line change @@ -249,9 +249,8 @@ proto.computeTickMarks = function() {
249249
250250 for ( var j = 0 ; j < 2 ; ++ j ) {
251251 for ( var i = 0 ; i < nextTicks [ j ] . length ; ++ i ) {
252- // TODO add support for '\n' in gl-plot2d,
253- // For now, replace '\n' with ' '
254- nextTicks [ j ] [ i ] . text = convertHTMLToUnicode ( nextTicks [ j ] [ i ] . text + '' ) . replace ( / \n / g, ' ' ) ;
252+ // coercing tick value (may not be a string) to a string
253+ nextTicks [ j ] [ i ] . text = convertHTMLToUnicode ( nextTicks [ j ] [ i ] . text + '' ) ;
255254 }
256255 }
257256
You can’t perform that action at this time.
0 commit comments