decentstringformatter
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -8,3 +8,3 @@ { | ||
], | ||
"description": "Decent String Formatter for Javascript\"", | ||
"description": "Decent String Formatter for Javascript", | ||
"main": "src/dsf.js", | ||
@@ -11,0 +11,0 @@ "moduleType": [ |
{ | ||
"name": "decentstringformatter", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Decent String Formatter for Javascript", | ||
@@ -5,0 +5,0 @@ "main": "src/dsf.js", |
@@ -119,4 +119,4 @@ (function(){ | ||
var token_counter = 0; | ||
for (var _tk in tokens) { | ||
var cur_token = token_type(tokens[_tk]); | ||
for (var i = 0; i < tokens.length; i++) { | ||
var cur_token = token_type(tokens[i]); | ||
if (cur_token.type === 'token-positional') { | ||
@@ -132,3 +132,3 @@ var rpl_value = positional_arguments[cur_token.value]; | ||
if (rpl_value === undefined) { | ||
throw new Error("Unmatched argument " + tokens[_tk]); | ||
throw new Error("Unmatched argument " + tokens[i]); | ||
} | ||
@@ -135,0 +135,0 @@ rebuild_string.push(rpl_value); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
7141
6
1
25