Difference between #1 and #2 of
embedded javascript block in your view with IDE checking or intellisense

Revision #2 has been created by yiqing95 on Sep 22, 2014, 3:49:20 AM with the memo:

wrap some code in markdown region
« previous (#1)

Changes

Title unchanged

embedded javascript block in your view with IDE checking or intellisense

Category unchanged

Tips

Yii version unchanged

Tags unchanged

registerScript, view, js

Content changed

this is my way for embed js code block in view file: ~~~

 
 
 
```php

<?php \year\widgets\JsBlock::begin() ?>
<script >
[...]
</script>
<?php \year\widgets\JsBlock::end()?>
~~~```
 


and my extension for it:
[...]
2 0
3 followers
Viewed: 13 642 times
Version: 2.0
Category: Tips
Written by: yiqing95
Last updated by: yiqing95
Created on: Sep 22, 2014
Last updated: 10 years ago
Update Article

Revisions

View all history