Merge branch 'master' of http://gitlab.edu.yar.ru/composer/PHP_Library
This commit is contained in:
commit
82ab3c7baf
1 changed files with 1 additions and 5 deletions
|
|
@ -318,11 +318,7 @@ class Controller_Component
|
||||||
}
|
}
|
||||||
|
|
||||||
function addRequireJsPath($name, $path, $shim = null) {
|
function addRequireJsPath($name, $path, $shim = null) {
|
||||||
global $requireJsConfig;
|
Controller_Site::addRequireJsPath($name, $path, $shim);
|
||||||
$requireJsConfig['paths'][$name] = $path;
|
|
||||||
if ($shim) {
|
|
||||||
$requireJsConfig['shim'][$name] = $shim;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function actionIndex(/*.ComponentRequest.*/ $request) {
|
function actionIndex(/*.ComponentRequest.*/ $request) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue