script WIP

This commit is contained in:
Qiang Xue
2013-04-18 08:45:41 -04:00
parent 82535b254d
commit db2392cdda
4 changed files with 87 additions and 56 deletions

View File

@@ -98,7 +98,7 @@ class ViewContent extends Component
$bundle = $this->assetManager->getBundle($name);
if ($bundle !== null) {
$this->assetBundles[$name] = false;
$bundle->registerAssets($this);
$bundle->registerAssets($this, $this->assetManager);
$this->assetBundles[$name] = true;
} else {
throw new InvalidConfigException("Unknown asset bundle: $name");