1 These test inputs are originally taken from the YUI compressor suite 2 (https://github.com/yui/yuicompressor/). The outputs (in the out/ directory) are 3 my own. 4 5 The YUI tests are licensed as follows: 6 7 =========================================================================== 8 YUI Compressor Copyright License Agreement (BSD License) 9 10 Copyright (c) 2011, Yahoo! Inc. 11 All rights reserved. 12 13 Redistribution and use of this software in source and binary forms, 14 with or without modification, are permitted provided that the following 15 conditions are met: 16 17 * Redistributions of source code must retain the above 18 copyright notice, this list of conditions and the 19 following disclaimer. 20 21 * Redistributions in binary form must reproduce the above 22 copyright notice, this list of conditions and the 23 following disclaimer in the documentation and/or other 24 materials provided with the distribution. 25 26 * Neither the name of Yahoo! Inc. nor the names of its 27 contributors may be used to endorse or promote products 28 derived from this software without specific prior 29 written permission of Yahoo! Inc. 30 31 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 32 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 33 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 34 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE 35 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 36 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 37 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 38 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 39 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 40 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 41 42 This software also requires access to software from the following sources: 43 44 The Jarg Library v 1.0 ( http://jargs.sourceforge.net/ ) is available 45 under a BSD License - Copyright (c) 2001-2003 Steve Purcell, 46 Copyright (c) 2002 Vidar Holen, Copyright (c) 2002 Michal Ceresna and 47 Copyright (c) 2005 Ewan Mellor. 48 49 The Rhino Library ( http://www.mozilla.org/rhino/ ) is dually available 50 under an MPL 1.1/GPL 2.0 license, with portions subject to a BSD license. 51 52 Additionally, this software contains modified versions of the following 53 component files from the Rhino Library: 54 55 [org/mozilla/javascript/Decompiler.java] 56 [org/mozilla/javascript/Parser.java] 57 [org/mozilla/javascript/Token.java] 58 [org/mozilla/javascript/TokenStream.java] 59 60 The modified versions of these files are distributed under the MPL v 1.1 61 ( http://www.mozilla.org/MPL/MPL-1.1.html ) 62