We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2f085a commit 1bfb4e5Copy full SHA for 1bfb4e5
src/JsPhpize/Compiler/Compiler.php
@@ -77,7 +77,7 @@ public function compileDependencies($dependencies)
77
$varPrefix = $this->varPrefix;
78
79
return implode('', array_map(function ($name) use ($varPrefix) {
80
- return '$GLOBALS[\'' . $this->varPrefix . $name . '\'] = ' .
+ return '$GLOBALS[\'' . $varPrefix . $name . '\'] = ' .
81
trim(file_get_contents(__DIR__ . '/Helpers/' . ucfirst($name) . '.h')) .
82
";\n";
83
}, $dependencies));
0 commit comments