File tree 3 files changed +3
-4
lines changed
3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 66
66
"gl-line3d" : " ^1.1.0" ,
67
67
"gl-mat4" : " ^1.1.2" ,
68
68
"gl-mesh3d" : " ^1.2.0" ,
69
- "gl-plot2d" : " ^1.1.9 " ,
69
+ "gl-plot2d" : " ^1.2.0 " ,
70
70
"gl-plot3d" : " ^1.5.1" ,
71
71
"gl-pointcloud2d" : " ^1.0.0" ,
72
72
"gl-scatter2d" : " ^1.2.0" ,
Original file line number Diff line number Diff line change @@ -249,9 +249,8 @@ proto.computeTickMarks = function() {
249
249
250
250
for ( var j = 0 ; j < 2 ; ++ j ) {
251
251
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 + '' ) ;
255
254
}
256
255
}
257
256
You can’t perform that action at this time.
0 commit comments