/** * Outputs the link to the Google JSAPI * * @access public * @since 2.3.0 * @return string Google Chart API and lava.js script blocks */ public function jsapi() { return $this->jsFactory->getCoreJs(); }
/** * Outputs the link to the Google JSAPI * * * @deprecated 3.1.0 Manual script tag location output is no longer needed, * lava.js injects the script into the head. * * @access public * @since 2.3.0 * @return string Google Chart API and lava.js script blocks */ public function jsapi() { trigger_error('Using the jsapi() method is deprecated since lava.js injects the jsapi into the head.', E_USER_DEPRECATED); return $this->jsFactory->getCoreJs(); }