Skip to content
Snippets Groups Projects
Commit 1bbf778c authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Don't strip $.

I think I was intending to strip & and prevent those variables,
but it looks like the original doesn't.

However, it also looks like the original doesn't *always* replace
string variables... will need to look into that harder in the future.
parent 11ad17e0
No related branches found
No related tags found
No related merge requests found
...@@ -571,10 +571,7 @@ function clean_str(str) ...@@ -571,10 +571,7 @@ function clean_str(str)
var i; var i;
for (i = 0; i < str.length; i += 1) { for (i = 0; i < str.length; i += 1) {
if (str[i] === '$') { if (str[i] !== '`') {
// Just skip it.
}
else if (str[i] !== '`') {
ret += str[i]; ret += str[i];
} }
else { else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment