<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -58,13 +58,13 @@ class AssetHelper extends Helper {
   function __construct($paths=array()) {
     $this-&gt;paths = am($this-&gt;paths, $paths);
 
-    $this-&gt;view =&amp; ClassRegistry::getObject('view');
+    $this-&gt;View =&amp; ClassRegistry::getObject('view');
   }
 
   //flag so we know the view is done rendering and it's the layouts turn
   function afterRender() {
-    if ($this-&gt;view) {
-      $this-&gt;viewScriptCount = count($this-&gt;view-&gt;__scripts);
+    if ($this-&gt;View) {
+      $this-&gt;viewScriptCount = count($this-&gt;View-&gt;__scripts);
     }
   }
 
@@ -78,7 +78,7 @@ class AssetHelper extends Helper {
     }
 		
     if (Configure::read('debug') &amp;&amp; $this-&gt;debug == false) {
-      return join(&quot;\n\t&quot;, $this-&gt;view-&gt;__scripts);
+      return join(&quot;\n\t&quot;, $this-&gt;View-&gt;__scripts);
     }
 
     $scripts_for_layout = array();
@@ -109,14 +109,14 @@ class AssetHelper extends Helper {
 		$this-&gt;assets = array();
 
     //nothing to do
-    if (!$this-&gt;view-&gt;__scripts) {
+    if (!$this-&gt;View-&gt;__scripts) {
       return;
     }
 
     //move the layout scripts to the front
-    $this-&gt;view-&gt;__scripts = array_merge(
-                               array_slice($this-&gt;view-&gt;__scripts, $this-&gt;viewScriptCount),
-                               array_slice($this-&gt;view-&gt;__scripts, 0, $this-&gt;viewScriptCount)
+    $this-&gt;View-&gt;__scripts = array_merge(
+                               array_slice($this-&gt;View-&gt;__scripts, $this-&gt;viewScriptCount),
+                               array_slice($this-&gt;View-&gt;__scripts, 0, $this-&gt;viewScriptCount)
                              );
 		if (Configure::read('debug') &amp;&amp; $this-&gt;debug == false) {
 			return;
@@ -139,7 +139,7 @@ class AssetHelper extends Helper {
 		$slot = 0;
 		$prev = '';
 		$holding = array();
-    foreach ($this-&gt;view-&gt;__scripts as $i =&gt; $script) {
+    foreach ($this-&gt;View-&gt;__scripts as $i =&gt; $script) {
       if (preg_match('/(src|href)=&quot;\/?(.*\/)?(js|css)\/(.*).(js|css)&quot;/', $script, $match)) {
         $temp = array();
         $temp['script'] = $match[4];</diff>
      <filename>views/helpers/asset.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3360d9c1c300c3f7a828ff0758b8d9679e50907d</id>
    </parent>
  </parents>
  <author>
    <name>mcurry</name>
    <email>matt@pseudocoder.com</email>
  </author>
  <url>http://github.com/mcurry/asset/commit/91bf04a2025c48f63440fde750429893556976c8</url>
  <id>91bf04a2025c48f63440fde750429893556976c8</id>
  <committed-date>2009-07-10T21:45:00-07:00</committed-date>
  <authored-date>2009-07-10T21:45:00-07:00</authored-date>
  <message>formatting</message>
  <tree>388026b2444f35cb6ac4f425940832a6a03ac774</tree>
  <committer>
    <name>mcurry</name>
    <email>matt@pseudocoder.com</email>
  </committer>
</commit>
