View Single Post
  #2 (permalink)  
Old 08-13-2008, 10:27 AM
Mr.Floppy Mr.Floppy is offline
Junior Member
 
Join Date: Aug 2008
Location: Frankfurt/Germany
Posts: 3
Lightbulb

Two possible solutions:
  1. Keep JavaScript code in separate files. Clean way in general but not suitable for very short scripts.
  2. Hack the editor! Maybe there's a simple way to change the script detection of the highlighter.

Of course you may alter the headScript helper but it works in a correct way and this is in fact an editor issue.
Reply With Quote