jmmk / javascript-externs-generator

Generate externs for use with Google Closure Compiler
https://jmmk.github.io/javascript-externs-generator/
ISC License
135 stars 9 forks source link

Add Header and Footer #24

Closed jmmk closed 8 years ago

jmmk commented 8 years ago

Sometimes externs can be incomplete, prompting users to modify/augment the output. When the extern is generated for a new version, it can be difficult to eyeball and see if any changes need to be made to the new version (https://github.com/cljsjs/boot-cljsjs/issues/33).

Having a simple header and footer could help, e.g:

/***********************
* Extern for <file>.js
* Generated by http://jmmk.github.io/javascript-externs-generator
**********************/
//...
//...
//...
/*********************
* End Generated Extern for <file>.js
*********************/