Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMike Gerwitz <mike.gerwitz@rtspecialty.com>2019-02-26 11:09:23 -0500
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2019-02-26 11:09:23 -0500
commit602a77443f859c93cdac9c37c09bf936d0a3b841 (patch)
tree75ac02bb315b55b13b7b46895433cb00579650ae /src
parentc5a99e594dae300a63becf71dab346617dc79aa7 (diff)
downloadtame-602a77443f859c93cdac9c37c09bf936d0a3b841.tar.gz
tame-602a77443f859c93cdac9c37c09bf936d0a3b841.tar.bz2
tame-602a77443f859c93cdac9c37c09bf936d0a3b841.zip
compiler: Expose params via compiled rater function
* src/current/compiler/js.xsl (compiler:exit-rater)[lv:package]: Expose `params' publicly on the rater function.
Diffstat (limited to 'src')
-rw-r--r--src/current/compiler/js.xsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/current/compiler/js.xsl b/src/current/compiler/js.xsl
index d2af0bb..97e637d 100644
--- a/src/current/compiler/js.xsl
+++ b/src/current/compiler/js.xsl
@@ -198,6 +198,8 @@
</for-each>
<text>}; </text>
+ <text>rater.params = params;</text>
+
<!-- the rater has been generated; return it -->
<text>return rater;</text>
<text>} )()</text>