@@ -999,7 +999,7 @@ var hovertemplateWarnings = {
999
999
name : 'hovertemplate'
1000
1000
} ;
1001
1001
lib . hovertemplateString = function ( ) {
1002
- return lib . templateFormatString . apply ( hovertemplateWarnings , arguments ) ;
1002
+ return templateFormatString . apply ( hovertemplateWarnings , arguments ) ;
1003
1003
} ;
1004
1004
1005
1005
var texttemplateWarnings = {
@@ -1008,7 +1008,7 @@ var texttemplateWarnings = {
1008
1008
name : 'texttemplate'
1009
1009
} ;
1010
1010
lib . texttemplateString = function ( ) {
1011
- return lib . templateFormatString . apply ( texttemplateWarnings , arguments ) ;
1011
+ return templateFormatString . apply ( texttemplateWarnings , arguments ) ;
1012
1012
} ;
1013
1013
1014
1014
var TEMPLATE_STRING_FORMAT_SEPARATOR = / ^ : / ;
@@ -1028,7 +1028,7 @@ var TEMPLATE_STRING_FORMAT_SEPARATOR = /^:/;
1028
1028
*
1029
1029
* @return {string } templated string
1030
1030
*/
1031
- lib . templateFormatString = function ( string , labels , d3locale ) {
1031
+ function templateFormatString ( string , labels , d3locale ) {
1032
1032
var opts = this ;
1033
1033
var args = arguments ;
1034
1034
// Not all that useful, but cache nestedProperty instantiation
@@ -1078,7 +1078,7 @@ lib.templateFormatString = function(string, labels, d3locale) {
1078
1078
}
1079
1079
return value ;
1080
1080
} ) ;
1081
- } ;
1081
+ }
1082
1082
1083
1083
/*
1084
1084
* alphanumeric string sort, tailored for subplot IDs like scene2, scene10, x10y13 etc
0 commit comments