diff options
author | Mike Gerwitz <mike.gerwitz@rtspecialty.com> | 2019-02-26 11:09:23 -0500 |
---|---|---|
committer | Mike Gerwitz <mike.gerwitz@rtspecialty.com> | 2019-02-26 11:09:23 -0500 |
commit | 602a77443f859c93cdac9c37c09bf936d0a3b841 (patch) | |
tree | 75ac02bb315b55b13b7b46895433cb00579650ae /src | |
parent | c5a99e594dae300a63becf71dab346617dc79aa7 (diff) | |
download | tame-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.xsl | 2 |
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> |