diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/jsgen.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/jsgen.pl b/util/jsgen.pl index d8095839..e2f8af87 100755 --- a/util/jsgen.pl +++ b/util/jsgen.pl @@ -122,7 +122,7 @@ sub readjs { local $/ = undef; local $_ = <$JS>; close $JS; - s{^//include (.+)$}{readjs($1)}meg; + s{^//include (.+)$}{'(function(){'.readjs($1).'})();'}meg; $_; } |