public function jsEval($str)
    {
        if (is_object($str)) {
            $str = $str->_render();
        }
        $data = ['js' => $str];
        $this->sseMessageJSON($data);
    }
public function jsEval($str)
    {
        if (is_object($str)) {
            $str = $str->_render();
        }
        $data = ['js' => $str];
        $this->sseMessageJSON($data);
    }
public function jsEval ( $ str ) { if ( is_object ( $ str ) ) { $ str = $ str -> _render ( ) ; } $ data = [ 'js' => $ str ] ; $ this -> sseMessageJSON ( $ data ) ; }
Add ability to send javascript.
Add ability to send javascript .