src/Helper/Scripts.php
public function addCondInternal($cond, $script, $pos = 100, array $attr = array())
    {
        $cond = $this->escaper->html($cond);
        $attr = $this->attr(null, $attr);
        $tag = "<!--[if $cond]><script $attr>$script</script><![endif]-->";
        $this->addElement($pos, $tag);

        return $this;
    }
public function addCondInternal($cond, $script, $pos = 100, array $attr = array())
    {
        $cond = $this->escaper->html($cond);
        $attr = $this->attr(null, $attr);
        $tag = "<!--[if $cond]><script $attr>$script</script><![endif]-->";
        $this->addElement($pos, $tag);

        return $this;
    }
public function addCondInternal ( $ cond , $ script , $ pos = 100 , array $ attr = array ( ) ) { $ cond = $ this -> escaper -> html ( $ cond ) ; $ attr = $ this -> attr ( null , $ attr ) ; $ tag = "<!--[if $cond]><script $attr>$script</script><![endif]-->" ; $ this -> addElement ( $ pos , $ tag ) ; return $ this ; }
Add Conditional internal script

@param mixed $cond   The conditional expression for the script.
@param mixed $script The script
@param int   $pos    The script position in the stack.
@param array $attr   The additional attributes

@return self

@access public
Add Conditional internal script