Skip to content

Commit

Permalink
Added missing licensing information.
Browse files Browse the repository at this point in the history
  • Loading branch information
bebraw committed Mar 25, 2010
1 parent 1973da0 commit d15f123
Show file tree
Hide file tree
Showing 32 changed files with 144 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
This fork is based on work done by mrdoob and rhyolight. I have restructured
it heavily to suit my purposes. :)

The application is available under the MIT license. See license.txt for further
information.

IMPORTANT! If you want to test the application, please give the tagged versions
a go! They are considered relatively stable.

Expand Down
4 changes: 4 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
* {
font-size: 12px;
}
Expand Down
3 changes: 3 additions & 0 deletions harmony.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<!-- Licensed under the MIT license: -->
<!-- http://www.opensource.org/licenses/mit-license.php -->
<!-- Copyright (c) 2010 Mr.doob, rhyolight, bebraw -->
<html lang="en">
<head>
<title>Harmony</title>
Expand Down
4 changes: 4 additions & 0 deletions js/brushes.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
/*
manager_set = false;
if (window.location.hash) {
Expand Down
4 changes: 4 additions & 0 deletions js/brushes/chrome.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function chrome(a) {
this.init(a)
}
Expand Down
4 changes: 4 additions & 0 deletions js/brushes/circles.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function circles(a) {
this.init(a)
}
Expand Down
4 changes: 4 additions & 0 deletions js/brushes/curvy.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function curvy(a) {
this.init(a)
}
Expand Down
4 changes: 4 additions & 0 deletions js/brushes/fur.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function fur(a) {
this.init(a)
}
Expand Down
4 changes: 4 additions & 0 deletions js/brushes/grid.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function grid(a) {
this.init(a)
}
Expand Down
4 changes: 4 additions & 0 deletions js/brushes/longfur.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function longfur(a) {
this.init(a)
}
Expand Down
4 changes: 4 additions & 0 deletions js/brushes/ribbon.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function bargs(c) {
var b, a = [];
for (b = 1; b < arguments.length; b++) {
Expand Down
4 changes: 4 additions & 0 deletions js/brushes/shaded.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function shaded(a) {
this.init(a)
}
Expand Down
4 changes: 4 additions & 0 deletions js/brushes/simple.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function simple(a) {
this.init(a)
}
Expand Down
4 changes: 4 additions & 0 deletions js/brushes/sketchy.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function sketchy(a) {
this.init(a)
}
Expand Down
4 changes: 4 additions & 0 deletions js/brushes/squares.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function squares(a) {
this.init(a)
}
Expand Down
4 changes: 4 additions & 0 deletions js/brushes/stringy.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function stringy(a) {
this.init(a)
}
Expand Down
4 changes: 4 additions & 0 deletions js/brushes/web.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function web(a) {
this.init(a)
}
Expand Down
4 changes: 4 additions & 0 deletions js/canvas.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
/*
canvas = document.createElement("canvas");
canvas.width = SCREEN_WIDTH;
Expand Down
4 changes: 4 additions & 0 deletions js/constraints.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
constraints = ["horizontal", "perspective", "vertical"];
importDirectory(constraints, "constraints");

Expand Down
4 changes: 4 additions & 0 deletions js/constraints/horizontal.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function HorizontalConstraint() {
this.init();
}
Expand Down
6 changes: 5 additions & 1 deletion js/constraints/perspective.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// TODO: make it possible to add multiple targets (max 3?) + a way to cycle
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
// // TODO: make it possible to add multiple targets (max 3?) + a way to cycle
// between them
function PerspectiveTarget() {
this.init();
Expand Down
4 changes: 4 additions & 0 deletions js/constraints/vertical.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function VerticalConstraint() {
this.init();
}
Expand Down
4 changes: 4 additions & 0 deletions js/devices.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function Key() {
this.init();
}
Expand Down
4 changes: 4 additions & 0 deletions js/harmony.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
var devices = new Devices(),
menu = new Menu(),
palette = new Palette(),
Expand Down
4 changes: 4 additions & 0 deletions js/menu.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function Menu() {
this.init()
}
Expand Down
4 changes: 4 additions & 0 deletions js/modifiers.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
// import brush modifiers
modifiers = ["mirror"]; // "jitter"
importDirectory(modifiers, "modifiers");
Expand Down
4 changes: 4 additions & 0 deletions js/modifiers/mirror.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function setToggle(e, state) {
// XXX: could be nicer (set via css class or so)
if(state) {
Expand Down
4 changes: 4 additions & 0 deletions js/palette.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function Palette() {
this.init();
}
Expand Down
4 changes: 4 additions & 0 deletions js/playback.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function Playback() {
this.init();
}
Expand Down
4 changes: 4 additions & 0 deletions js/stroke.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function project_coordinate(x1, y1, x2, y2, x3, y3) {
dx = x2 - x1;
dy = y2 - y1;
Expand Down
4 changes: 4 additions & 0 deletions js/utils.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
* Copyright (c) 2010 Mr.doob, rhyolight, bebraw
*/
function cleanPopUps() {
if (isForegroundColorSelectorVisible) {
foregroundColorSelector.hide();
Expand Down
21 changes: 21 additions & 0 deletions license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License

Copyright (c) 2010 Mr.doob, rhyolight, bebraw

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.

0 comments on commit d15f123

Please sign in to comment.