src/Potter/Theme/Features.php
public function addJs($handle, $src, $deps = array(), $ver = null, $in_footer = false)
    {
        $this->js[] = array(
            'handle'    => $handle,
            'src'       => $this->prepUrl($src),
            'deps'      => $deps,
            'ver'       => $ver,
            'in_footer' => $in_footer
        );

        $this->addJsEnqueue($handle);

        return $this;
    }
public function addJs($handle, $src, $deps = array(), $ver = null, $in_footer = false)
    {
        $this->js[] = array(
            'handle'    => $handle,
            'src'       => $this->prepUrl($src),
            'deps'      => $deps,
            'ver'       => $ver,
            'in_footer' => $in_footer
        );

        $this->addJsEnqueue($handle);

        return $this;
    }
@param string $handle
@param string $src
@param array  $deps
@param bool   $ver
@param bool   $in_footer

@return $this