@babylonjs/gui
Advanced tools
Comparing version 7.20.1 to 7.21.0
@@ -73,3 +73,6 @@ import { GetClass } from "@babylonjs/core/Misc/typeStore.js"; | ||
const matches = node.attributes[i].value.match(/{{(.*)}}/); | ||
const element = node.attributes[i].value.replace(/{{.*}}/, `${this._getChainElement(matches[1])}`); | ||
let element = this._getChainElement(matches[1]); | ||
if (!(node.attributes[i].value.startsWith("{{") && node.attributes[i].value.endsWith("}}"))) { | ||
element = node.attributes[i].value.replace(/{{.*}}/, `${element}`); | ||
} | ||
guiNode[node.attributes[i].name] = element; | ||
@@ -76,0 +79,0 @@ } |
{ | ||
"name": "@babylonjs/gui", | ||
"version": "7.20.1", | ||
"version": "7.21.0", | ||
"main": "index.js", | ||
@@ -21,3 +21,3 @@ "module": "index.js", | ||
"devDependencies": { | ||
"@babylonjs/core": "^7.20.1", | ||
"@babylonjs/core": "^7.21.0", | ||
"@dev/build-tools": "^1.0.0", | ||
@@ -24,0 +24,0 @@ "@lts/gui": "1.0.0" |
Sorry, the diff of this file is not supported yet
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
3543062
36645