diff --git a/system/expressionengine/third_party/easy_jail/vendors/jail/CHANGELOG.txt b/system/expressionengine/third_party/easy_jail/vendors/jail/CHANGELOG.txt new file mode 100755 index 0000000..b80298c --- /dev/null +++ b/system/expressionengine/third_party/easy_jail/vendors/jail/CHANGELOG.txt @@ -0,0 +1,48 @@ +JAIL 1.0.0 (14/10/2011) +----------------------- - +- Important fix inside _isVisibleInContainer() aroudn checking if the parent of the image exists +- Grunt.js support +- Switched from YUITest to Jasmine +- AMD support improvements (see example 14-15) +- Travic CI support + +JAIL 0.9.9 (30/12/2011) +----------------------- - +- fixed issue with callback +- fixed issue with the use of '$' (AMD case) +- 'scroll' event managed in a better way + +JAIL 0.9.8 (29/12/2011) +----------------------- - +- 'data-src' attributes substitutes 'data-href' +- 'load' will replace 'load+scroll' ('+scroll' won't exist anymore) +- 'selector' attribute renamed 'triggerElement' +- 'loadHiddenImages' attribute replaces 'ignoreHiddenImages' +- 'package.json' file added +- Added support for AMD spec +- Added 'post-receive hook' to the plugins.jquery.com site (not functional yet) +- Added checks on the 'overflow' CSS property +- Removed "asynchImageLoader" function +- Code restructured in meaningful public and private functions +- Removed GPL version +- Added example using 'require.js' +- Fixed issue #17, #20, #21, #22 +- Better way of handling unbinding events + +- JAIL 0.9.7 (12/10/2011) - Issue 16 fixed, "ignoreHiddenImages" parameter added and "container" parameter removed. + +- JAIL 0.9.5 (3/08/2011) - Issues around images visible inside a container or inside an iframe been fixed. JS filename changed into jail.js. + +- JAIL 0.9 (13/05/2011) - callback fixes + support for callbackAfterEachImage parameter + +- JAIL 0.8 (03/04/2011) - jail() function, fixed critical issue on v0.7, resizing function, scrolling fixes + +- JAIL 0.7 (19/02/2011) - Added "offset" configuration + +- JAIL 0.6 (05/02/2011) - Fixed a critical issue on "effect" configuration + +- JAIL 0.5 (27/01/2011) - 'Delay' configuration removed, critical fix on unbind method, refactoring to pass JSLint without warnings. + +- JAIL 0.4 (21/01/2011) - Added ability to detect scroll on containing elements instead of just `window`. Plus, lots of refactoring. (Contributor : Derek Lindahl - dlindahl) + +- JAIL 0.2 (20/01/2011) - HTML5 data attribute `data-href` used instead of `name` attribute \ No newline at end of file diff --git a/system/expressionengine/third_party/easy_jail/vendors/jail/MIT-LICENSE.txt b/system/expressionengine/third_party/easy_jail/vendors/jail/MIT-LICENSE.txt new file mode 100755 index 0000000..91a7630 --- /dev/null +++ b/system/expressionengine/third_party/easy_jail/vendors/jail/MIT-LICENSE.txt @@ -0,0 +1,7 @@ +Copyright (c) 2011-2012 Sebastiano Armeli-Battana (http://www.sebastianoarmelibattana.com) + +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. \ No newline at end of file diff --git a/system/expressionengine/third_party/easy_jail/vendors/jail/README.md b/system/expressionengine/third_party/easy_jail/vendors/jail/README.md new file mode 100755 index 0000000..fcf90b5 --- /dev/null +++ b/system/expressionengine/third_party/easy_jail/vendors/jail/README.md @@ -0,0 +1,192 @@ +# Jquery Asynchronous Image Loader (JAIL) + +JAIL is a jQuery plugin that lazy load images making your page load faster. + +[![Build Status](https://secure.travis-ci.org/sebarmeli/JAIL.png)](http://travis-ci.org/sebarmeli/JAIL) + +Images are downloaded when they are visible or when they become visible inside the viewport (area you see in your browser). Images can be loaded after an event is triggered (such as `click`, `mouseover`, and `scroll`) or after a specified delay. It's advisable to call jail() after the DOM has been constructed (document ready). + +## Getting Started + +First of all, this plugin requires you to make some HTML changes. The `data-src` attribute (HTML5 data attribute) should contain the location of the image, instead the `src` attribute should contain a placeholder such as a really tiny image (E.g. 1 px x 1 px). Also, I would suggest to add a `noscript` block so that in case the user doesn't have Javascript enabled, the images will be displayed (progressive enhancement). + +```html + +