Skip to content

Commit 207742e

Browse files
committed
remove log
1 parent cce4bf0 commit 207742e

File tree

5 files changed

+2
-6
lines changed

5 files changed

+2
-6
lines changed

Interpolate.browser.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ function interpolateFactory(defaultReplacer = "") {
8282
* @returns {string} - The interpolated string.
8383
*/
8484
function replace(str, token) {
85-
console.log(token);
8685
return str.replace(/\{(?<key>[a-z_\d]+)}/gim, getReplacerLambda(token));
8786
}
8887

Interpolate.module.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ function interpolateFactory(defaultReplacer = "") {
8484
* @returns {string} - The interpolated string.
8585
*/
8686
function replace(str, token) {
87-
console.log(token);
8887
return str.replace(/\{(?<key>[a-z_\d]+)}/gim, getReplacerLambda(token));
8988
}
9089

Interpolate.node.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ function interpolateFactory(defaultReplacer = "") {
8383
* @returns {string} - The interpolated string.
8484
*/
8585
function replace(str, token) {
86-
console.log(token);
8786
return str.replace(/\{(?<key>[a-z_\d]+)}/gim, getReplacerLambda(token));
8887
}
8988

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ function interpolateFactory(defaultReplacer = "") {
8484
* @returns {string} - The interpolated string.
8585
*/
8686
function replace(str, token) {
87-
console.log(token);
8887
return str.replace(/\{(?<key>[a-z_\d]+)}/gim, getReplacerLambda(token));
8988
}
9089

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "es-string-interpolator",
3-
"version": "1.0.6",
3+
"version": "1.0.8",
44
"description": "a small module for ES string interpolation",
5-
"main": "Interpolate.module.js",
5+
"main": "index.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},

0 commit comments

Comments
 (0)