Replace private with protected, so the class can be easily extended
diff --git a/system/libraries/Javascript.php b/system/libraries/Javascript.php
index 723b106..074af94 100644
--- a/system/libraries/Javascript.php
+++ b/system/libraries/Javascript.php
@@ -702,11 +702,11 @@
*
* Outputs an opening <script>
*
- * @access private
+ * @access protected
* @param string
* @return string
*/
- private function _open_script($src = '')
+ protected function _open_script($src = '')
{
return '<script type="text/javascript" charset="'.strtolower($this->CI->config->item('charset')).'"'
. ($src == '' ? '>' : ' src="'.$src.'">');
@@ -719,11 +719,11 @@
*
* Outputs an closing </script>
*
- * @access private
+ * @access protected
* @param string
* @return string
*/
- private function _close_script($extra = "\n")
+ protected function _close_script($extra = "\n")
{
return "</script>$extra";
}