This commit is contained in:
origami11 2017-06-22 16:09:05 +03:00
commit 0f3d83c26a
6 changed files with 8 additions and 12 deletions

View file

@ -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) {