Browse Source

added comment

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
72b4f4f717
  1. 1
      framework/yii/base/View.php

1
framework/yii/base/View.php

@ -622,6 +622,7 @@ class View extends Component
} elseif ($pos > $position) { } elseif ($pos > $position) {
throw new InvalidConfigException("An asset bundle that depends on '$name' has a higher javascript file position configured than '$name'."); throw new InvalidConfigException("An asset bundle that depends on '$name' has a higher javascript file position configured than '$name'.");
} }
// update position for all dependencies
foreach ($bundle->depends as $dep) { foreach ($bundle->depends as $dep) {
$this->registerAssetBundle($dep, $pos); $this->registerAssetBundle($dep, $pos);
} }

Loading…
Cancel
Save