File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 11
11
12
12
var Axes = require ( '../cartesian/axes' ) ;
13
13
14
- var convertHTMLToUnicode = require ( '../../lib/html2unicode' ) ;
15
14
var str2RGBArray = require ( '../../lib/str2rgbarray' ) ;
16
15
17
16
function Axes2DOptions ( scene ) {
@@ -118,7 +117,7 @@ proto.merge = function(options) {
118
117
119
118
for ( j = 0 ; j <= 2 ; j += 2 ) {
120
119
this . labelEnable [ i + j ] = false ;
121
- this . labels [ i + j ] = convertHTMLToUnicode ( axTitle ) ;
120
+ this . labels [ i + j ] = axTitle ;
122
121
this . labelColor [ i + j ] = str2RGBArray ( ax . titlefont . color ) ;
123
122
this . labelFont [ i + j ] = ax . titlefont . family ;
124
123
this . labelSize [ i + j ] = ax . titlefont . size ;
Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ var getContext = require('webgl-context');
20
20
21
21
var createOptions = require ( './convert' ) ;
22
22
var createCamera = require ( './camera' ) ;
23
- var convertHTMLToUnicode = require ( '../../lib/html2unicode' ) ;
24
23
var showNoWebGlMsg = require ( '../../lib/show_no_webgl_msg' ) ;
25
24
var axisConstraints = require ( '../cartesian/constraints' ) ;
26
25
var enforceAxisConstraints = axisConstraints . enforce ;
@@ -279,7 +278,7 @@ proto.computeTickMarks = function() {
279
278
for ( var j = 0 ; j < 2 ; ++ j ) {
280
279
for ( var i = 0 ; i < nextTicks [ j ] . length ; ++ i ) {
281
280
// coercing tick value (may not be a string) to a string
282
- nextTicks [ j ] [ i ] . text = convertHTMLToUnicode ( nextTicks [ j ] [ i ] . text + '' ) ;
281
+ nextTicks [ j ] [ i ] . text = nextTicks [ j ] [ i ] . text + '' ;
283
282
}
284
283
}
285
284
You can’t perform that action at this time.
0 commit comments