summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-04-26 10:18:05 +0200
committerAndrey Andreev <narf@bofh.bg>2012-04-26 10:18:05 +0200
commit9e2d5d130eff40592b49337a8ba4d8c170934de1 (patch)
treee083554a66bb2b43b2f7138001e1fc9b5806baf5
parentf8ae11598ba058ee02cc4f8c82dbab3420756aae (diff)
parenta28812aed2aa56d4e8e69ac3560ad33aa4b82f38 (diff)
Merge pull request #1292 from ChadBH/develop
Corrected path to jquery
-rw-r--r--user_guide_src/source/libraries/javascript.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide_src/source/libraries/javascript.rst b/user_guide_src/source/libraries/javascript.rst
index 5e80fb998..d5e09c314 100644
--- a/user_guide_src/source/libraries/javascript.rst
+++ b/user_guide_src/source/libraries/javascript.rst
@@ -86,14 +86,14 @@ The jQuery Class
To initialize the jQuery class manually in your controller constructor,
use the $this->load->library function::
- $this->load->library('jquery');
+ $this->load->library('javascript/jquery');
You may send an optional parameter to determine whether or not a script
tag for the main jQuery file will be automatically included when loading
the library. It will be created by default. To prevent this, load the
library as follows::
- $this->load->library('jquery', FALSE);
+ $this->load->library('javascript/jquery', FALSE);
Once loaded, the jQuery library object will be available using:
$this->jquery