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:
@@ -10,6 +10,7 @@
|
|||||||
* Add config option for simply concatenating files
|
* Add config option for simply concatenating files
|
||||||
* Add config option for altering creation of Minify/MinApp objects
|
* Add config option for altering creation of Minify/MinApp objects
|
||||||
* Missing spec no longer redirects, instead links to docs
|
* 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)
|
## Version 2.2.1 (2014-10-30)
|
||||||
* Builder styled with Bootstrap (thanks to help from acidvertigo)
|
* Builder styled with Bootstrap (thanks to help from acidvertigo)
|
||||||
|
@@ -26,7 +26,15 @@ use Psr\Log\LoggerInterface;
|
|||||||
*/
|
*/
|
||||||
class Minify {
|
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_CSS = 'text/css';
|
||||||
const TYPE_HTML = 'text/html';
|
const TYPE_HTML = 'text/html';
|
||||||
// there is some debate over the ideal JS Content-Type, but this is the
|
// there is some debate over the ideal JS Content-Type, but this is the
|
||||||
|
Reference in New Issue
Block a user