embedded javascript block in your view with IDE checking or intellisense

Comparing #1 with #2

Revision #2 was created by yiqing95 yiqing95 on Sep 22, 2014, 3:49:20 AM.

wrap some code in markdown region

Content

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:
[...]