Version Description
Bugfix: Works with SCRIPT_DEBUG
Download this release
Release Info
Developer | bjornjohansen |
Plugin | BJ Lazy Load |
Version | 0.6.8 |
Comparing to | |
See all releases |
Code changes from version 0.6.7 to 0.6.8
- bj-lazy-load.php +3 -3
- readme.txt +20 -14
bj-lazy-load.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: BJ Lazy Load
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/bj-lazy-load/
|
5 |
Description: Lazy image loading makes your site load faster and saves bandwidth.
|
6 |
-
Version: 0.6.
|
7 |
Author: Bjørn Johansen
|
8 |
Author URI: http://twitter.com/bjornjohansen
|
9 |
License: GPL2
|
@@ -40,7 +40,7 @@ require_once( dirname(__FILE__) . '/scb/load.php' );
|
|
40 |
if ( ! class_exists( 'BJLL' ) ) {
|
41 |
class BJLL {
|
42 |
|
43 |
-
const version = '0.6.
|
44 |
protected $_placeholder_url;
|
45 |
protected $_skip_classes;
|
46 |
|
@@ -108,7 +108,7 @@ if ( ! class_exists( 'BJLL' ) ) {
|
|
108 |
|
109 |
|
110 |
if ( defined( 'SCRIPT_DEBUG') && SCRIPT_DEBUG ) {
|
111 |
-
wp_enqueue_script( 'jquery.sonar', plugins_url( '/js/jquery.sonar.
|
112 |
wp_enqueue_script( 'BJLL', plugins_url( '/js/bj-lazy-load.js', __FILE__ ), array( 'jquery', 'jquery.sonar' ), self::version, $in_footer );
|
113 |
} else {
|
114 |
wp_enqueue_script( 'BJLL', plugins_url( '/js/combined.min.js', __FILE__ ), array( 'jquery' ), self::version, $in_footer );
|
3 |
Plugin Name: BJ Lazy Load
|
4 |
Plugin URI: http://wordpress.org/extend/plugins/bj-lazy-load/
|
5 |
Description: Lazy image loading makes your site load faster and saves bandwidth.
|
6 |
+
Version: 0.6.8
|
7 |
Author: Bjørn Johansen
|
8 |
Author URI: http://twitter.com/bjornjohansen
|
9 |
License: GPL2
|
40 |
if ( ! class_exists( 'BJLL' ) ) {
|
41 |
class BJLL {
|
42 |
|
43 |
+
const version = '0.6.8';
|
44 |
protected $_placeholder_url;
|
45 |
protected $_skip_classes;
|
46 |
|
108 |
|
109 |
|
110 |
if ( defined( 'SCRIPT_DEBUG') && SCRIPT_DEBUG ) {
|
111 |
+
wp_enqueue_script( 'jquery.sonar', plugins_url( '/js/jquery.sonar.js', __FILE__ ), array( 'jquery' ), self::version, $in_footer );
|
112 |
wp_enqueue_script( 'BJLL', plugins_url( '/js/bj-lazy-load.js', __FILE__ ), array( 'jquery', 'jquery.sonar' ), self::version, $in_footer );
|
113 |
} else {
|
114 |
wp_enqueue_script( 'BJLL', plugins_url( '/js/combined.min.js', __FILE__ ), array( 'jquery' ), self::version, $in_footer );
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: images, iframes, lazy loading, jquery, javascript, optimize, performance,
|
|
5 |
Author URI: http://twitter.com/bjornjohansen
|
6 |
Requires at least: 3.3
|
7 |
Tested up to: 3.5.1
|
8 |
-
Stable tag: 0.6.
|
9 |
|
10 |
Lazy loading makes your site load faster and saves bandwidth. Uses jQuery and degrades gracefully for non-js users. Works with both images and iframes.
|
11 |
|
@@ -57,13 +57,16 @@ Probably, your theme does not call wp_footer(). Edit the plugin settings to load
|
|
57 |
= How can I verify that the plugin is working? =
|
58 |
Check your HTML source or see the magic at work in Web Inspector, FireBug or similar.
|
59 |
|
60 |
-
== Changelog ==
|
61 |
-
|
62 |
-
= Version 0.6.
|
63 |
-
*
|
64 |
-
|
65 |
-
|
66 |
-
|
|
|
|
|
|
|
67 |
* Option to disable BJ Lazy Load for MobilePress
|
68 |
|
69 |
= Version 0.6.5 =
|
@@ -156,12 +159,15 @@ Check your HTML source or see the magic at work in Web Inspector, FireBug or sim
|
|
156 |
* Released 2011-12-05
|
157 |
* It works (or at least it does for me)
|
158 |
|
159 |
-
== Upgrade Notice ==
|
160 |
-
|
161 |
-
= 0.6.
|
162 |
-
|
163 |
-
|
164 |
-
= 0.6.
|
|
|
|
|
|
|
165 |
MobilePress compatible
|
166 |
|
167 |
= 0.6.5 =
|
5 |
Author URI: http://twitter.com/bjornjohansen
|
6 |
Requires at least: 3.3
|
7 |
Tested up to: 3.5.1
|
8 |
+
Stable tag: 0.6.8
|
9 |
|
10 |
Lazy loading makes your site load faster and saves bandwidth. Uses jQuery and degrades gracefully for non-js users. Works with both images and iframes.
|
11 |
|
57 |
= How can I verify that the plugin is working? =
|
58 |
Check your HTML source or see the magic at work in Web Inspector, FireBug or similar.
|
59 |
|
60 |
+
== Changelog ==
|
61 |
+
|
62 |
+
= Version 0.6.8 =
|
63 |
+
* Bugfix: sonar.js wouldn't load properly when SCRIPT_DEBUG was set to true (thanks @techawakening)
|
64 |
+
|
65 |
+
= Version 0.6.7 =
|
66 |
+
* Combined JS files for faster loading
|
67 |
+
* Bugfix for when viewport is resized (now triggering scroll event)
|
68 |
+
|
69 |
+
= Version 0.6.6 =
|
70 |
* Option to disable BJ Lazy Load for MobilePress
|
71 |
|
72 |
= Version 0.6.5 =
|
159 |
* Released 2011-12-05
|
160 |
* It works (or at least it does for me)
|
161 |
|
162 |
+
== Upgrade Notice ==
|
163 |
+
|
164 |
+
= 0.6.8 =
|
165 |
+
Bugfix: Works with SCRIPT_DEBUG
|
166 |
+
|
167 |
+
= 0.6.7 =
|
168 |
+
Faster loading and bugfix
|
169 |
+
|
170 |
+
= 0.6.6 =
|
171 |
MobilePress compatible
|
172 |
|
173 |
= 0.6.5 =
|