diff options
author | Derek Jones <derek.jones@ellislab.com> | 2010-03-05 16:52:53 +0100 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2010-03-05 16:52:53 +0100 |
commit | 9d653edd03fcc325e94a2c9da36eb250f2a8f889 (patch) | |
tree | 36e442a5b555cb115549acf865802b1eacf1b51f /system/libraries | |
parent | 031acfac109d9960dc55fa0d1a2bdc1604868cfc (diff) |
fixing docblock for Javascript class
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Javascript.php | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/system/libraries/Javascript.php b/system/libraries/Javascript.php index af85e6509..efaaab4bf 100644 --- a/system/libraries/Javascript.php +++ b/system/libraries/Javascript.php @@ -1,13 +1,35 @@ <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); - - - +/** + * CodeIgniter + * + * An open source application development framework for PHP 4.3.2 or newer + * + * @package CodeIgniter + * @author ExpressionEngine Dev Team + * @copyright Copyright (c) 2008 - 2010, EllisLab, Inc. + * @license http://codeigniter.com/user_guide/license.html + * @link http://codeigniter.com + * @since Version 1.0 + * @filesource + */ + +// ------------------------------------------------------------------------ + +/** + * Javascript Class + * + * @package CodeIgniter + * @subpackage Libraries + * @category Javascript + * @author ExpressionEngine Dev Team + * @link http://codeigniter.com/user_guide/general/errors.html + */ class CI_Javascript { var $_javascript_location = 'js'; function CI_Javascript($params = array()) - { + { $defaults = array('js_library_driver' => 'jquery', 'autoload' => TRUE); foreach ($defaults as $key => $val) @@ -23,7 +45,7 @@ class CI_Javascript { $this->CI =& get_instance(); // load the requested js library - $this->CI->load->library('javsacript/'.$js_library_driver, array('autoload' => $autoload)); + $this->CI->load->library('javascript/'.$js_library_driver, array('autoload' => $autoload)); // make js to refer to current library $this->js =& $this->CI->$js_library_driver; @@ -840,8 +862,10 @@ class CI_Javascript { return $result; } } + + // -------------------------------------------------------------------- } - +// END Javascript Class /* End of file Javascript.php */ /* Location: ./system/libraries/Javascript.php */
\ No newline at end of file |