Skip to content

Instantly share code, notes, and snippets.

@hotoo
Created July 15, 2010 05:37
Show Gist options
  • Select an option

  • Save hotoo/476547 to your computer and use it in GitHub Desktop.

Select an option

Save hotoo/476547 to your computer and use it in GitHub Desktop.
--langdef=javascript
--langmap=javascript:.js
--regex-javascript=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\{/\1/o,object/
--regex-javascript=/([A-Za-z0-9._$()]+)[ \t]*[:=][ \t]*function[ \t]*\(([A-Za-z0-9_$, \t]*)\)/\1(\2)/f,function/
--regex-javascript=/function[ \t]*([A-Za-z0-9._$]+)[ \t]*\(([A-Za-z0-9$_, \t]*)\)/\1(\2)/f,function/
let tlist_javascript_settings = 'javascript;f:Functions;c:Classes;o:Objects'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment