| 9 | | Distributed under the terms of the BSD License |
| | 9 | Distributed under the terms of the BSD License (see below) |
| | 10 | |
| | 11 | ------------------------------------------------------------------------------- |
| | 12 | |
| | 13 | Copyright (c) 2006-2007, Joe Hewitt |
| | 14 | All rights reserved. |
| | 15 | |
| | 16 | Redistribution and use in source and binary forms, with or without |
| | 17 | modification, are permitted provided that the following conditions are met: |
| | 18 | |
| | 19 | * Redistributions of source code must retain the above copyright notice, this |
| | 20 | list of conditions and the following disclaimer. |
| | 21 | * Redistributions in binary form must reproduce the above copyright notice, |
| | 22 | this list of conditions and the following disclaimer in the documentation |
| | 23 | and/or other materials provided with the distribution. |
| | 24 | * Neither the name of the Dojo Foundation nor the names of its contributors |
| | 25 | may be used to endorse or promote products derived from this software |
| | 26 | without specific prior written permission. |
| | 27 | |
| | 28 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| | 29 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| | 30 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| | 31 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE |
| | 32 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| | 33 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
| | 34 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
| | 35 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
| | 36 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| | 37 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |