Skip to content

Commit

Permalink
Changing the reference to SourceCode
Browse files Browse the repository at this point in the history
Some bits were refactored, so SourceCode property is now on the ISparkViewEntry interface itself
  • Loading branch information
loudej committed Apr 2, 2009
1 parent c8dbf42 commit 392f666
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -13,7 +13,7 @@
<hr/>
<code>
<var entry="Spark.CompiledViewHolder.Current.Lookup(GeneratedViewId)"/>
!{H(entry.Compiler.SourceCode).Replace("\r\n", "<br/>").Replace(" ", "&nbsp;")}
!{H(entry.SourceCode).Replace("\r\n", "<br/>").Replace(" ", "&nbsp;")}
</code>
</body>
</html>
@@ -1,9 +1,9 @@

<viewdata id="object" entry="Spark.CompiledViewHolder.Entry"/>
<viewdata id="object" entry="Spark.ISparkViewEntry"/>

<test if="entry != null">
<code>
!{H(entry.Compiler.SourceCode).Replace("\r\n", "<br/>").Replace(" ", "&nbsp;")}
!{H(entry.SourceCode).Replace("\r\n", "<br/>").Replace(" ", "&nbsp;")}
</code>
<else/>
<p>The view for ${id} was not found</p>
Expand Down

0 comments on commit 392f666

Please sign in to comment.