summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-02-08 19:14:52 +0100
committerAndrey Andreev <narf@devilix.net>2014-02-08 19:14:52 +0100
commitd8a561a9cd12317342dd2f28aea8d76e93efce0d (patch)
treeacb887d64c31bf6554b14233b4b181121488de2d
parente4e1091d42e854e96706c153c71410301b3c3047 (diff)
[ci skip] Deprecate the Javascript library
-rw-r--r--system/libraries/Javascript.php1
-rw-r--r--user_guide_src/source/installation/upgrade_300.rst12
-rw-r--r--user_guide_src/source/libraries/javascript.rst5
3 files changed, 16 insertions, 2 deletions
diff --git a/system/libraries/Javascript.php b/system/libraries/Javascript.php
index 26a16850c..34a216c22 100644
--- a/system/libraries/Javascript.php
+++ b/system/libraries/Javascript.php
@@ -34,6 +34,7 @@ defined('BASEPATH') OR exit('No direct script access allowed');
* @category Javascript
* @author EllisLab Dev Team
* @link http://codeigniter.com/user_guide/libraries/javascript.html
+ * @deprecated 3.0.0 This was never a good idea in the first place.
*/
class CI_Javascript {
diff --git a/user_guide_src/source/installation/upgrade_300.rst b/user_guide_src/source/installation/upgrade_300.rst
index 75aeea715..292c1de9d 100644
--- a/user_guide_src/source/installation/upgrade_300.rst
+++ b/user_guide_src/source/installation/upgrade_300.rst
@@ -569,6 +569,18 @@ CodeIgniter 3.1+.
.. note:: This method is still available, but you're strongly encouraged to remove its usage
sooner rather than later.
+======================
+The Javascript library
+======================
+
+The :doc:`Javascript Library <../libraries/javascript>` has always had an
+'experimental' status and was never really useful, nor a proper solution.
+
+It is now deprecated and scheduled for removal in CodeIgniter 3.1+.
+
+.. note:: This library is still available, but you're strongly encouraged to remove its usage
+ sooner rather than later.
+
***********************************************************
Step 18: Check your usage of Text helper highlight_phrase()
***********************************************************
diff --git a/user_guide_src/source/libraries/javascript.rst b/user_guide_src/source/libraries/javascript.rst
index bb901ead9..9d0237e57 100644
--- a/user_guide_src/source/libraries/javascript.rst
+++ b/user_guide_src/source/libraries/javascript.rst
@@ -2,8 +2,9 @@
Javascript Class
################
-.. note:: This driver is experimental. Its feature set and
- implementation may change in future releases.
+.. note:: This library is DEPRECATED and should not be used. It has always
+ been with an 'experimental' status and is now no longer supported.
+ Currently only kept for backwards compatibility.
CodeIgniter provides a library to help you with certain common functions
that you may want to use with Javascript. Please note that CodeIgniter