Skip to content

Commit 1bfb4e5

Browse files
committed
Fix compatibility
1 parent e2f085a commit 1bfb4e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsPhpize/Compiler/Compiler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function compileDependencies($dependencies)
7777
$varPrefix = $this->varPrefix;
7878

7979
return implode('', array_map(function ($name) use ($varPrefix) {
80-
return '$GLOBALS[\'' . $this->varPrefix . $name . '\'] = ' .
80+
return '$GLOBALS[\'' . $varPrefix . $name . '\'] = ' .
8181
trim(file_get_contents(__DIR__ . '/Helpers/' . ucfirst($name) . '.h')) .
8282
";\n";
8383
}, $dependencies));

0 commit comments

Comments
 (0)