public function printInlineScript($print = true)
    {
        $this->scriptNonces[] = ($nonce = $this->newNonce());
        if ($print) {
            echo  "<script type='text/javascript' nonce='".$nonce."'>" . $this->scriptInline . "</script>\n";
        } else {
            return  "<script type='text/javascript' nonce='".$nonce."'>" . $this->scriptInline . "</script>\n";
        }
    }