Настройка путей к скриптам
This commit is contained in:
parent
ce7d909ea8
commit
785da9007a
1 changed files with 1 additions and 5 deletions
|
|
@ -318,11 +318,7 @@ class Controller_Component
|
|||
}
|
||||
|
||||
function addRequireJsPath($name, $path, $shim = null) {
|
||||
global $requireJsConfig;
|
||||
$requireJsConfig['paths'][$name] = $path;
|
||||
if ($shim) {
|
||||
$requireJsConfig['shim'][$name] = $shim;
|
||||
}
|
||||
Controller_Site::addRequireJsPath($name, $path, $shim);
|
||||
}
|
||||
|
||||
function actionIndex(/*.ComponentRequest.*/ $request) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue