2010-10-30

emacs javascript template

Does anyone know a emacs template for javascript?

In particular, am looking for template for either YASnippet or AutoComplete.

one minute google or emacswiki search didn't find anything.

(am already using both js2-mode and js-mode (espresso mode), they don't appear to have name completion or template builtin.