Client API bootstrap
If you plan to call Client API commands before the main script loads, include this small snippet before the main installer script:
<script>
window.rptCommandQueue = window.rptCommandQueue || [];
window.rpt = function(){ window.rptCommandQueue.push(...arguments); }
</script>
This ensures that any rpt(...)
calls used early in page load won't throw and will be executed once the installer loads.
caution
If this snippet is omitted and you call rpt(...)
before the main script loads, those calls will fail. Prefer placing this snippet at the top of the <head>
.