Skip to content
Browse files

Fixed bug with asset virtualizing

  • Loading branch information...
1 parent 6f58e32 commit 248be29e168724e41a42c0360d1834e591dd436f @Artazor Artazor committed Jun 10, 2012
Showing with 7 additions and 5 deletions.
  1. +2 −1 oxy.php
  2. +5 −4 oxygen.oxy.php
View
3 oxy.php
@@ -98,10 +98,11 @@ public static function __getParentClass() {
<?if(count($method->assets)):?>
$class = $this->__getClass();
$last = $this->__lastMetaModified();
+ $css = 'css-' . $class;
<?foreach($method->assets as $asset):?>
$this->asset_<?=$asset->name?>_<?=$asset->type?>(
'<?=$method->path?>',
- 'css-<?=$class->name?>',
+ $css,
$class,
$last
);
View
9 oxygen.oxy.php
@@ -115,21 +115,22 @@ public function put_inspected($value) {
Oxygen::closeAll();
$class = $this->__getClass();
$last = $this->__lastMetaModified();
+ $css = 'css-' . $class;
$this->asset_inspected_css(
'/oxygen',
- 'css-Oxygen',
+ $css,
$class,
$last
);
$this->asset_inspected_less(
'/oxygen',
- 'css-Oxygen',
+ $css,
$class,
$last
);
$this->asset_inspected_js(
'/oxygen',
- 'css-Oxygen',
+ $css,
$class,
$last
);
@@ -173,7 +174,7 @@ private function put_oxy($class) {
# END VIEWS.
public function __lastMetaModified() {
- return 1339256399;
+ return 1339276099;
}
}

0 comments on commit 248be29

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