@@ -999,7 +999,7 @@ var hovertemplateWarnings = {
999999 name : 'hovertemplate'
10001000} ;
10011001lib . hovertemplateString = function ( ) {
1002- return lib . templateFormatString . apply ( hovertemplateWarnings , arguments ) ;
1002+ return templateFormatString . apply ( hovertemplateWarnings , arguments ) ;
10031003} ;
10041004
10051005var texttemplateWarnings = {
@@ -1008,7 +1008,7 @@ var texttemplateWarnings = {
10081008 name : 'texttemplate'
10091009} ;
10101010lib . texttemplateString = function ( ) {
1011- return lib . templateFormatString . apply ( texttemplateWarnings , arguments ) ;
1011+ return templateFormatString . apply ( texttemplateWarnings , arguments ) ;
10121012} ;
10131013
10141014var TEMPLATE_STRING_FORMAT_SEPARATOR = / ^ : / ;
@@ -1028,7 +1028,7 @@ var TEMPLATE_STRING_FORMAT_SEPARATOR = /^:/;
10281028 *
10291029 * @return {string } templated string
10301030 */
1031- lib . templateFormatString = function ( string , labels , d3locale ) {
1031+ function templateFormatString ( string , labels , d3locale ) {
10321032 var opts = this ;
10331033 var args = arguments ;
10341034 // Not all that useful, but cache nestedProperty instantiation
@@ -1078,7 +1078,7 @@ lib.templateFormatString = function(string, labels, d3locale) {
10781078 }
10791079 return value ;
10801080 } ) ;
1081- } ;
1081+ }
10821082
10831083/*
10841084 * alphanumeric string sort, tailored for subplot IDs like scene2, scene10, x10y13 etc
0 commit comments