<% javascript_tag do %>

177 views
Skip to first unread message

cur...@gmail.com

unread,
May 22, 2008, 12:58:13 PM5/22/08
to Ruby on Rails: TextMate
Textmate isn't recognizing the stuff in this tag as javacript:

<% javascript_tag do %>

If anyone wants to fix that, it'd be awesome.

Thanks.

Nic Williams

unread,
May 23, 2008, 7:13:37 AM5/23/08
to rubyonrail...@googlegroups.com
In the meantime, if you use "script" + TAB you'll get a normal javascript <script>...</script> element, which will recognise its internals as javascript.

(This is from the HTML bundle)

Cheers
Nic
--
Dr Nic Williams
* Learn TextMate for Rails2 - http://peepcode.com/products/textmate-for-rails-2 *
Training in Ruby/Rails/JavaScript - http://drnicacademy.com
Fun with Ruby/Rails/Javascript - http://drnicwilliams.com
Reply all
Reply to author
Forward
0 new messages