compiler: Expose params via compiled rater function

* src/current/compiler/js.xsl (compiler:exit-rater)[lv:package]: Expose
    `params' publicly on the rater function.
master
Mike Gerwitz 2019-02-26 11:09:23 -05:00
parent c5a99e594d
commit 602a77443f
1 changed files with 2 additions and 0 deletions

View File

@ -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>