1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-06 06:07:24 +02:00

Minify::VERSION tracks only the major version

This commit is contained in:
Steve Clay
2016-05-12 10:27:34 -04:00
parent b7cf3808d7
commit 0db2af8741
2 changed files with 10 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
* Add config option for simply concatenating files
* Add config option for altering creation of Minify/MinApp objects
* Missing spec no longer redirects, instead links to docs
* Minify::VERSION is an int that tracks the major version number
## Version 2.2.1 (2014-10-30)
* Builder styled with Bootstrap (thanks to help from acidvertigo)

View File

@@ -26,7 +26,15 @@ use Psr\Log\LoggerInterface;
*/
class Minify {
const VERSION = '3.0.0';
/**
* API version
*
* This is only bumped when API breaks are done and should follow the major version of the library
*
* @var int
*/
const VERSION = 3;
const TYPE_CSS = 'text/css';
const TYPE_HTML = 'text/html';
// there is some debate over the ideal JS Content-Type, but this is the