File tree Expand file tree Collapse file tree 5 files changed +2
-6
lines changed Expand file tree Collapse file tree 5 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,6 @@ function interpolateFactory(defaultReplacer = "") {
82
82
* @returns {string } - The interpolated string.
83
83
*/
84
84
function replace ( str , token ) {
85
- console . log ( token ) ;
86
85
return str . replace ( / \{ (?< key > [ a - z _ \d ] + ) } / gim, getReplacerLambda ( token ) ) ;
87
86
}
88
87
Original file line number Diff line number Diff line change @@ -84,7 +84,6 @@ function interpolateFactory(defaultReplacer = "") {
84
84
* @returns {string } - The interpolated string.
85
85
*/
86
86
function replace ( str , token ) {
87
- console . log ( token ) ;
88
87
return str . replace ( / \{ (?< key > [ a - z _ \d ] + ) } / gim, getReplacerLambda ( token ) ) ;
89
88
}
90
89
Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ function interpolateFactory(defaultReplacer = "") {
83
83
* @returns {string } - The interpolated string.
84
84
*/
85
85
function replace ( str , token ) {
86
- console . log ( token ) ;
87
86
return str . replace ( / \{ (?< key > [ a - z _ \d ] + ) } / gim, getReplacerLambda ( token ) ) ;
88
87
}
89
88
Original file line number Diff line number Diff line change @@ -84,7 +84,6 @@ function interpolateFactory(defaultReplacer = "") {
84
84
* @returns {string } - The interpolated string.
85
85
*/
86
86
function replace ( str , token ) {
87
- console . log ( token ) ;
88
87
return str . replace ( / \{ (?< key > [ a - z _ \d ] + ) } / gim, getReplacerLambda ( token ) ) ;
89
88
}
90
89
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " es-string-interpolator" ,
3
- "version" : " 1.0.6 " ,
3
+ "version" : " 1.0.8 " ,
4
4
"description" : " a small module for ES string interpolation" ,
5
- "main" : " Interpolate.module .js" ,
5
+ "main" : " index .js" ,
6
6
"scripts" : {
7
7
"test" : " echo \" Error: no test specified\" && exit 1"
8
8
},
You can’t perform that action at this time.
0 commit comments