File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -330,9 +330,10 @@ var Scale = Element.extend({
330330
331331 me . afterTickToLabelConversion ( ) ;
332332
333- // IMPORTANT: below this point, we consider that `this.ticks` will NEVER change!
334333 me . ticks = labels ; // BACKWARD COMPATIBILITY
335334
335+ // IMPORTANT: below this point, we consider that `this.ticks` will NEVER change!
336+
336337 // BACKWARD COMPAT: synchronize `_ticks` with labels (so potentially `this.ticks`)
337338 for ( i = 0 , ilen = labels . length ; i < ilen ; ++ i ) {
338339 ticks [ i ] . label = labels [ i ] ;
@@ -437,8 +438,7 @@ var Scale = Element.extend({
437438 } ,
438439 buildTicks : helpers . noop ,
439440 afterBuildTicks : function ( ticks ) {
440- var me = this ;
441- return helpers . callback ( me . options . afterBuildTicks , [ me , ticks ] ) || ticks ;
441+ return helpers . callback ( this . options . afterBuildTicks , [ this , ticks ] ) || ticks ;
442442 } ,
443443
444444 beforeTickToLabelConversion : function ( ) {
You can’t perform that action at this time.
0 commit comments