From d5549ea65537e12cdfa2e67c3ce319899f960182 Mon Sep 17 00:00:00 2001 From: Steven Petryk Date: Tue, 20 Jan 2015 15:11:41 -0500 Subject: [PATCH] Include GNU license snippet in file headers and README --- README.md | 19 +++++++++++++++++-- dist/jquery.jpip.css | 21 +++++++++++++-------- dist/jquery.jpip.js | 20 +++++++++++++------- 3 files changed, 43 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 03e8a67..ecfcb9f 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,6 @@ A lightweight jQuery plugin for viewing JPIP images. -*Copyright 2001-2015 AgileSrc LLC.* - ## Introduction The goal when designing jpip.js was to have a lightweight yet user-friendly user interface for viewing JPIP images on a variety of devices. @@ -44,3 +42,20 @@ $('#jpipViewer').jpipViewer('some_image.jp2', { /* options */ }); | `server` | String | `"http://localhost:8080/adore-djatoka/resolver"` | The path to where your copy of the Djatoka server is running. | `initialZoom` | Number | `1` | An integer greater than or equal to 1 stating how much the view should initially be zoomed in | `showNavButtons` | Boolean | `true` | Whether or not the navigation portion of the UI should be visible + +## License + +*Copyright © 2001-2015 AgileSrc LLC.* + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . diff --git a/dist/jquery.jpip.css b/dist/jquery.jpip.css index 2ad7b6a..b621fef 100644 --- a/dist/jquery.jpip.css +++ b/dist/jquery.jpip.css @@ -1,13 +1,18 @@ -/* -* Copyright 2001-2015 AgileSrc LLC +/** +* Copyright © 2001-2015 AgileSrc LLC. * -* Unless required by applicable law or agreed to in writing, software -* distributed is distributed on an "AS IS" BASIS, -* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* This program is free software: you can redistribute it and/or modify +* it under the terms of the GNU Affero General Public License as +* published by the Free Software Foundation, either version 3 of the +* License, or (at your option) any later version. * -* This file is a part of the jpip-js project, which is licensed under Version 3 of the GNU General -* Public License, a copy of which can be found in LICENSE.txt at the root of the project directory, -* or at http://www.gnu.org/licenses/gpl.txt. +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU Affero General Public License for more details. +* +* You should have received a copy of the GNU Affero General Public License +* along with this program. If not, see . */ @import "../bower_components/Jcrop/css/jquery.Jcrop.min.css"; diff --git a/dist/jquery.jpip.js b/dist/jquery.jpip.js index af3f951..3b5d2a1 100644 --- a/dist/jquery.jpip.js +++ b/dist/jquery.jpip.js @@ -1,14 +1,20 @@ /** - * Copyright 2001-2015 AgileSrc LLC + * Copyright © 2001-2015 AgileSrc LLC. * - * Unless required by applicable law or agreed to in writing, software - * distributed is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. * - * This file is a part of the jpip-js project, which is licensed under Version 3 of the GNU General - * Public License, a copy of which can be found in LICENSE.txt at the root of the project directory, - * or at http://www.gnu.org/licenses/gpl.txt. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . */ + (function ($) { $.fn.jpipViewer = function(image, options) { return this.each(function() {