1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-15 16:29:16 +01:00

Support minifier license comment convetion.

Many JS minifiers use the convention that comments starting with '/*!'
are preserverd as license comments. To help build tools do this easily
with DataTables, it should use this convention. This ensures the
license comment is preserved when using these tools.

From https://github.com/yui/yuicompressor/blob/master/README.md
C-style comments starting with /*! are preserved. This is useful with
comments containing copyright/license information.

From https://github.com/yui/yuglify
We need to support the /*! license comment blocks when minifying, so
we added a preprocessor to the code to pull them from the source, then
place them back when the minification is complete.
This commit is contained in:
Jon Dufresne 2013-10-19 07:54:49 -07:00
parent 9cca9c8265
commit 4f476215ac

View File

@ -1,4 +1,4 @@
/**
/*!
* @summary DataTables
* @description Paginate, search and sort HTML tables
* @version 1.10.0-dev