Skip to content

Commit

Permalink
Update OSL Utils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Mistium authored Dec 2, 2024
1 parent c004a9f commit 8e0eecc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/OSL Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,8 @@ function parseJsonLikeString(jsonLikeStr, replacements) {
} else if (cur.indexOf(".") !== -1) {
let method = cur.match(this.regex)
for (let i = 0; i < method.length; i++) {
method[i] = this.evalToken(method[i].replaceAll(".","󰀁"))
method[i].data = method[i].data.replaceAll("󰀁",".")
method[i] = this.evalToken((""+method[i]).replaceAll(".","󰀁"))
method[i].data = (""+method[i].data).replaceAll("󰀁",".")
}
return { type: "mtd", data: method }
} else if (cur.match(/^[a-zA-Z_][a-zA-Z0-9_]*$/)) {
Expand Down

0 comments on commit 8e0eecc

Please sign in to comment.