Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent d32efe0 commit 103c678c0cf5711b24c7ac9f65b57bc76359f2e1 @Borales committed Jul 18, 2013
Showing with 10 additions and 3 deletions.
  1. +10 −3 README.md
View
13 README.md
@@ -32,12 +32,19 @@ Params
Examples
--------
-Example for `indexedAssetsSubdomain`=`true` param:
+Example for `indexedAssetsSubdomain = true` param:
<pre>Yii::app()->clientScript->registerScriptFile('/js/script.js', CClientScript::POS_HEAD)
+
// will output:
-&lt;head&gt;...&lt;script type=&quot;text/javascript&quot; src=&quot;http://assets0.example.com/js/script.js&quot;&gt;&lt;/script&gt;...&lt;/head&gt;&#10;</pre>
+&lt;head&gt;
+ ...
+ &lt;script type=&quot;text/javascript&quot; src=&quot;http://assets0.example.com/js/script.js&quot;&gt;&lt;/script&gt;
+ ...
+&lt;/head&gt;&#10;</pre>
<pre>Yii::app()->clientScript->registerScriptFile('/js/script.js', CClientScript::POS_END)
+
// will output:
-...&lt;script type=&quot;text/javascript&quot; src=&quot;http://assets2.example.com/js/script.js&quot;&gt;&lt;/script&gt;&lt;/body&gt;</pre>
+ ...&lt;script type=&quot;text/javascript&quot; src=&quot;http://assets2.example.com/js/script.js&quot;&gt;&lt;/script&gt;
+&lt;/body&gt;</pre>

0 comments on commit 103c678

Please sign in to comment.