Skip to content

Commit

Permalink
Standardization of javascript variabile name
Browse files Browse the repository at this point in the history
  • Loading branch information
sensorario committed Sep 22, 2011
1 parent 61c177f commit 028417b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lyiightbox/LyiightBox2.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private function populateJsarrayScripts() {
private function loadAllJsScript() {
$this->populateJsarrayScripts();

Yii::app()->getClientScript()->registerScript('_', 'assetUrl = "' . (Yii::app()->getAssetManager()->publish($this->assetsFolder)) . '";', CClientScript::POS_HEAD);
Yii::app()->getClientScript()->registerScript('_', 'lyiightboxAssetUrl = "' . (Yii::app()->getAssetManager()->publish($this->assetsFolder)) . '";', CClientScript::POS_HEAD);

foreach ($this->scripts as $filename)
Yii::app()->getClientScript()->registerScriptFile($this->baseUrl . $filename, CClientScript::POS_END);
Expand Down

0 comments on commit 028417b

Please sign in to comment.