Elgg
Version 1.9
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
js
elgg
require_config.php
Go to the documentation of this file.
1
<?php
2
3
$amdConfig
=
_elgg_services
()->amdConfig->getConfig();
4
5
// Deps are loaded in page/elements/foot with require([...])
6
unset(
$amdConfig
[
'deps'
]);
7
?>
8
// <script>
9
if
(typeof
require
==
"undefined"
) {
10
var
require
= <?php
echo
json_encode(
$amdConfig
); ?>;
11
}
_elgg_services
_elgg_services()
Definition:
autoloader.php:14
echo
elgg echo
Translates a string.
Definition:
languages.js:43
require
elgg require
Throw an error if the required package isn't present.
Definition:
elgglib.js:164
$amdConfig
$amdConfig
Definition:
require_config.php:3
Generated on Sat Dec 21 2024 00:00:36 for Elgg by
1.8.11