public function selector($selector)
    {
        if( is_scalar($selector) )
        {
            $this->selector = json_encode($selector);
        }
        else
        {
            $this->selector = Buffering\Callback::do($selector);
        }
        

        return $this;
    }
public function selector($selector)
    {
        if( is_scalar($selector) )
        {
            $this->selector = json_encode($selector);
        }
        else
        {
            $this->selector = Buffering\Callback::do($selector);
        }
        

        return $this;
    }
public function selector ( $ selector ) { if ( is_scalar ( $ selector ) ) { $ this -> selector = json_encode ( $ selector ) ; } else { $ this -> selector = Buffering \ Callback :: do ( $ selector ) ; } return $ this ; }
Keeps jquery selector

@param string $selector

@return object
Keeps jquery selector