mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
reverted example. it was good as is.
This commit is contained in:
@@ -51,11 +51,11 @@ $smarty->display('example.tpl');
|
|||||||
<programlisting>
|
<programlisting>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
<script language="javascript">
|
<script language="javascript">
|
||||||
var foo = 'bar';
|
var foo = <!--{$foo}-->;
|
||||||
function dosomething() {
|
function dosomething() {
|
||||||
alert("foo is " + foo);
|
alert("foo is " + foo);
|
||||||
}
|
}
|
||||||
dosomething();
|
dosomething();
|
||||||
</script>
|
</script>
|
||||||
]]>
|
]]>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
Reference in New Issue
Block a user