supereggbert / GLGE

A javascript webGL graphics library
http://glge.org
Other
394 stars 84 forks source link

Preserve license through minification. #57

Closed statico closed 12 years ago

statico commented 12 years ago

Since the copyright says that the license should be preserved through redistribution, this fix helps do that.

(Copying the header using a regex is cheesy but necessary — comments are lost when using the UglifyJS AST.)

It also changes the comment opener to /*! which should preserve the header through additional minification. I think.

supereggbert commented 12 years ago

That fantastic thanks for that, and sorry it's taken awhile to get it pulled across.