summaryrefslogtreecommitdiff
path: root/public/javascripts/shadowbox/LICENSE
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-06-30 17:11:32 +0200
committererdgeist <erdgeist@erdgeist.org>2026-06-30 17:29:12 +0200
commit3e87925a35f73aa2261eb66df3ef4ca11b64eeea (patch)
tree8a9a6da1f99b4480e07548ffaf5d5b4945603ba9 /public/javascripts/shadowbox/LICENSE
parentb97466cdfbcb5b02d4eaf38661c051d1a095838e (diff)
Replace Shadowbox with GLightbox, drop jQuery from public site
Vendors GLightbox 3.3.1 (MIT, dependency-free) as static files in public/javascripts and public/stylesheets, replacing the Shadowbox 2009 vendor tree and its jQuery adapter. Public site no longer loads jQuery at all. - app/views/layouts/application.html.erb: swap Shadowbox script/style includes and the public_bundle (jQuery) include for GLightbox's CSS/JS - app/views/content/_headline_image.html.erb: headline image is now itself a GLightbox trigger; additional images are direct a.glightbox links sharing a per-page data-gallery group, replacing the hidden shadowbox_images div and its click-forwarding trigger - public/javascripts/public.js: replace Shadowbox.init/setup and the click-forwarding handler with a single GLightbox() init call; remove the unused image_handler object - Remove public/javascripts/shadowbox/ (including vendored Sizzle, swfobject, and unused video/Flash players) and public/stylesheets/shadowbox.css - Remove app/assets/javascripts/public_bundle.js (jquery require)
Diffstat (limited to 'public/javascripts/shadowbox/LICENSE')
-rw-r--r--public/javascripts/shadowbox/LICENSE48
1 files changed, 0 insertions, 48 deletions
diff --git a/public/javascripts/shadowbox/LICENSE b/public/javascripts/shadowbox/LICENSE
deleted file mode 100644
index 1538183..0000000
--- a/public/javascripts/shadowbox/LICENSE
+++ /dev/null
@@ -1,48 +0,0 @@
1Copyright 2007-2009 Michael J. I. Jackson
2http://mjijackson.com
3All rights reserved.
4
5Shadowbox.js License version 1.0
6
7This license is applicable to version 3.0 of the code and greater until superseded
8by a later version.
9
10Shadowbox.js is available for use under the terms of two separate, yet similar
11licenses. The first of these may be exercised by individuals and organizations
12who employ the software for non-commercial uses. This license grants the licensee
13the following privileges:
14
15 - Use
16
17 The software, including code, images, and documentation may be used in a web
18 site or application that is not used for commercial purposes.
19
20 - Modification
21
22 The software, including code, images, and documentation may be modified by the
23 user to suit his purpose.
24
25The second type of license may be obtained for a fee from the copyright holder and
26removes the non-commercial restriction from the terms of use. This commercial
27license may be obtained for one developer or multiple developers in the same
28organization or company.
29
30Under neither license is the licensee permitted to redistribute the source code,
31images, or documentation contained in this project. All redistribution rights
32remain with the copyright holder unless specific prior written permission is
33obtained.
34
35Under no circumstance shall this copyright notice or list of conditions be
36modified or removed from the code distribution in either source or binary form.
37
38This software is provided by the copyright holder and contributors "as is" and
39any express or implied warranties, including, but not limited to, the implied
40warranties of merchantability and fitness for a particular purpose are disclaimed.
41
42In no event shall the copyright holder or contributors be liable for any direct,
43indirect, incidental, special, exemplary, or consequential damages (including, but
44not limited to, procurement of substitute goods or services; loss of use, data, or
45profits; or business interruption) however caused and on any theory of liability,
46whether in contract, strict liability, or tort (including negligence or otherwise)
47arising in any way out of the use of this software, even if advised of the
48possibility of such damage.