Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/current')
-rw-r--r--src/current/compiler/js.xsl3
-rw-r--r--src/current/compiler/linker.xsl3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/current/compiler/js.xsl b/src/current/compiler/js.xsl
index cefdf42..273b6a3 100644
--- a/src/current/compiler/js.xsl
+++ b/src/current/compiler/js.xsl
@@ -217,9 +217,6 @@
</for-each>
<text>}; </text>
- <!-- common stuff -->
- <call-template name="compiler:static" />
-
<!-- the rater has been generated; return it -->
<text>return rater;</text>
<text>} )()</text>
diff --git a/src/current/compiler/linker.xsl b/src/current/compiler/linker.xsl
index c6b64d8..42f9a98 100644
--- a/src/current/compiler/linker.xsl
+++ b/src/current/compiler/linker.xsl
@@ -954,6 +954,7 @@
<xsl:text>compiling entry point...</xsl:text>
</xsl:with-param>
</xsl:call-template>
+
<xsl:apply-templates select="." mode="compiler:entry" />
@@ -979,6 +980,8 @@
<xsl:with-param name="deps" select="$deps" />
</xsl:apply-templates>
+ <!-- common stuff -->
+ <xsl:call-template name="compiler:static" />
<!-- finally, finish up -->
<xsl:call-template name="log:info">