Class Horde_Text_Filter_JavascriptMinify_JsMin
PHP implementation of Douglas Crockford's JSMin.
License/copyright from original jsmin.php library:
-- Copyright (c) 2002 Douglas Crockford (www.crockford.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
The Software shall be used for Good, not Evil.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Author: Ryan Grove ryan@wonko.com (c) 2002 Douglas Crockford douglas@crockford.com (jsmin.c) (c) 2008 Ryan Grove ryan@wonko.com (PHP port) Version: 1.1.1 (2008-03-02)
URL: http://code.google.com/p/jsmin-php/
Additional cleanups/code by the Horde Project.
Copyright 2009-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Category: Horde
License: LGPL 2.1
Author: Michael Slusarz slusarz@horde.org
Located at Horde/Text/Filter/JavascriptMinify/JsMin.php
public
|
|
public
|
integer |
ORD_LF
|
#
10
|
integer |
ORD_SPACE
|
#
32
|
integer |
ACTION_KEEP_A
|
#
1
|
integer |
ACTION_DELETE_A
|
#
2
|
integer |
ACTION_DELETE_A_B
|
#
3
|