mirror of
https://github.com/moodle/moodle.git
synced 2025-08-03 16:13:28 +02:00
Fix comment.
This commit is contained in:
parent
334e66c1c2
commit
949cf26cc2
1 changed files with 2 additions and 3 deletions
|
@ -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
|
* if you have your javascript in an external file, and need to call one function
|
||||||
* to initialise it.
|
* to initialise it.
|
||||||
*
|
*
|
||||||
* You can pass in an optional list of arguments, which should be strings or
|
* You can pass in an optional list of arguments, which are properly escaped for
|
||||||
* numbers. Numeric arguments are used unmodified. String arguments automatically
|
* you using the json_encode function.
|
||||||
* have addslashes_js called on them, and are wrapped in quotes for you.
|
|
||||||
*
|
*
|
||||||
* @param string $function the name of the JavaScript function to call.
|
* @param string $function the name of the JavaScript function to call.
|
||||||
* @param array $args an optional list of arguments to the function call.
|
* @param array $args an optional list of arguments to the function call.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue