Add license file

This commit is contained in:
David Capello 2018-08-20 14:50:11 -03:00
parent 0dd41f69d5
commit 7ed438a855
11 changed files with 50 additions and 0 deletions

20
LICENSE.txt Normal file
View File

@ -0,0 +1,20 @@
Copyright (c) 2018 David Capello
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 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.

View File

@ -1,4 +1,7 @@
// Copyright (C) 2018 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
var pc = app.pixelColor
console.assert(0 == pc.rgba(0, 0, 0, 0))

View File

@ -1,4 +1,7 @@
// Copyright (C) 2018 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
console.assert(app.version[0] == "1")
console.assert(app.version[1] == ".")

View File

@ -1,4 +1,7 @@
// Copyright (C) 2018 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
console.assert(true)
console.log("this should be in the output")

View File

@ -1,4 +1,7 @@
// Copyright (C) 2018 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
console.log("hello world")
console.log(1, 2, 3)

View File

@ -1,4 +1,7 @@
// Copyright (C) 2018 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
console.assert(ColorMode.RGB == 0)
console.assert(ColorMode.GRAYSCALE == 1)

View File

@ -1,4 +1,7 @@
// Copyright (C) 2018 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
var pt = new Point()
console.assert(pt.x == 0)

View File

@ -1,4 +1,7 @@
// Copyright (C) 2018 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
var rc = new Rectangle()
console.assert(rc.x == 0)

View File

@ -1,4 +1,7 @@
// Copyright (C) 2018 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
// Isolated selection
var a = new Selection()

View File

@ -1,4 +1,7 @@
// Copyright (C) 2018 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
var sz = new Size()
console.assert(sz.width == 0)

View File

@ -1,4 +1,7 @@
// Copyright (C) 2018 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
var a = new Sprite(32, 64)
console.assert(a.width == 32)