Skip to content
Browse files

Fixed bug in js-assets

  • Loading branch information...
1 parent 9741349 commit 3d9586dbfaac906e088538a094ae46c00876388e @Artazor Artazor committed May 14, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 asset/asset.class.php
  2. +3 −3 asset/js/js.class.php
View
2 asset/asset.class.php
@@ -5,7 +5,7 @@
public $added = array();
public $pipeline = false;
public $process = false;
- private $ext = '';
+ public $ext = '';
private $hash = false;
private $compiled = false;
View
6 asset/js/js.class.php
@@ -22,9 +22,9 @@ protected function processOne($item) {
} else {
return Oxygen_Utils_Text::format(
self::JQUERY_WRAPPER,
- $asset->component !== false ? '.' . $asset->component : 'body',
- $asset->class,
- $asset->name,
+ $item->component !== false ? '.' . $item->component : 'body',
+ $item->class,
+ $item->name,
$source
);
}

0 comments on commit 3d9586d

Please sign in to comment.
Something went wrong with that request. Please try again.