Skip to content

Commit

Permalink
Fix comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhunt committed Sep 28, 2008
1 parent 334e66c commit 949cf26
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/weblib.php
Expand Up @@ -2695,9 +2695,8 @@ function get_require_js_code($loadlibs) {
* if you have your javascript in an external file, and need to call one function
* to initialise it.
*
* You can pass in an optional list of arguments, which should be strings or
* numbers. Numeric arguments are used unmodified. String arguments automatically
* have addslashes_js called on them, and are wrapped in quotes for you.
* You can pass in an optional list of arguments, which are properly escaped for
* you using the json_encode function.
*
* @param string $function the name of the JavaScript function to call.
* @param array $args an optional list of arguments to the function call.
Expand Down

0 comments on commit 949cf26

Please sign in to comment.