diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-06-30 17:11:32 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-06-30 17:29:12 +0200 |
| commit | 3e87925a35f73aa2261eb66df3ef4ca11b64eeea (patch) | |
| tree | 8a9a6da1f99b4480e07548ffaf5d5b4945603ba9 /public/javascripts/shadowbox/LICENSE | |
| parent | b97466cdfbcb5b02d4eaf38661c051d1a095838e (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/LICENSE | 48 |
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 @@ | |||
| 1 | Copyright 2007-2009 Michael J. I. Jackson | ||
| 2 | http://mjijackson.com | ||
| 3 | All rights reserved. | ||
| 4 | |||
| 5 | Shadowbox.js License version 1.0 | ||
| 6 | |||
| 7 | This license is applicable to version 3.0 of the code and greater until superseded | ||
| 8 | by a later version. | ||
| 9 | |||
| 10 | Shadowbox.js is available for use under the terms of two separate, yet similar | ||
| 11 | licenses. The first of these may be exercised by individuals and organizations | ||
| 12 | who employ the software for non-commercial uses. This license grants the licensee | ||
| 13 | the 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 | |||
| 25 | The second type of license may be obtained for a fee from the copyright holder and | ||
| 26 | removes the non-commercial restriction from the terms of use. This commercial | ||
| 27 | license may be obtained for one developer or multiple developers in the same | ||
| 28 | organization or company. | ||
| 29 | |||
| 30 | Under neither license is the licensee permitted to redistribute the source code, | ||
| 31 | images, or documentation contained in this project. All redistribution rights | ||
| 32 | remain with the copyright holder unless specific prior written permission is | ||
| 33 | obtained. | ||
| 34 | |||
| 35 | Under no circumstance shall this copyright notice or list of conditions be | ||
| 36 | modified or removed from the code distribution in either source or binary form. | ||
| 37 | |||
| 38 | This software is provided by the copyright holder and contributors "as is" and | ||
| 39 | any express or implied warranties, including, but not limited to, the implied | ||
| 40 | warranties of merchantability and fitness for a particular purpose are disclaimed. | ||
| 41 | |||
| 42 | In no event shall the copyright holder or contributors be liable for any direct, | ||
| 43 | indirect, incidental, special, exemplary, or consequential damages (including, but | ||
| 44 | not limited to, procurement of substitute goods or services; loss of use, data, or | ||
| 45 | profits; or business interruption) however caused and on any theory of liability, | ||
| 46 | whether in contract, strict liability, or tort (including negligence or otherwise) | ||
| 47 | arising in any way out of the use of this software, even if advised of the | ||
| 48 | possibility of such damage. | ||
