Skip to content

Commit

Permalink
Updating README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Borales committed Jan 2, 2013
1 parent 7981363 commit aa7dea7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
@@ -1,5 +1,5 @@
Static ClientScript Static ClientScript (multidomain assets)
=================== ========================================
Extending default Yii [CClientScript](https://github.com/yiisoft/yii/blob/master/framework/web/CClientScript.php) class to use static subdomains for assets files. Extending default Yii [CClientScript](https://github.com/yiisoft/yii/blob/master/framework/web/CClientScript.php) class to use static subdomains for assets files.


Preinstall Preinstall
Expand Down Expand Up @@ -40,4 +40,4 @@ Example for `indexedAssetsSubdomain`=`true` param:


<pre>`Yii::app()->clientScript->registerScriptFile('/js/script.js', CClientScript::POS_END)` <pre>`Yii::app()->clientScript->registerScriptFile('/js/script.js', CClientScript::POS_END)`
// will output: // 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 aa7dea7

Please sign in to comment.