LICENSE.txt
author Jens Alfke <jens@mooseyard.com>
Thu Sep 24 10:36:08 2009 -0700 (2009-09-24)
changeset 4 715d6147ba3a
permissions -rw-r--r--
* Fixed a bug in Ottoman: the parameterless constructor didn't initialize _file, leaving it garbage and leading to a crash if you deleted the object without saving.
* This bug was being hidden by another bug in saveAs which didn't delete the old _file.
* Also added a versionsChanged hook that subclasses can override.
jens@0
     1
[This is a standard BSD license.]
jens@0
     2
jens@0
     3
Copyright (c) 2009, Jens Alfke <jens@mooseyard.com>. All rights reserved.
jens@0
     4
jens@0
     5
Redistribution and use in source and binary forms, with or without modification,
jens@0
     6
are permitted provided that the following conditions are met:
jens@0
     7
jens@0
     8
* Redistributions of source code must retain the above copyright notice, this
jens@0
     9
  list of conditions and the following disclaimer.
jens@0
    10
* Redistributions in binary form must reproduce the above copyright notice, this
jens@0
    11
  list of conditions and the following disclaimer in the documentation and/or
jens@0
    12
  other materials provided with the distribution.
jens@0
    13
jens@0
    14
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
jens@0
    15
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
jens@0
    16
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
jens@0
    17
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
jens@0
    18
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
jens@0
    19
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
jens@0
    20
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
jens@0
    21
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
jens@0
    22
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
jens@0
    23
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.