Skip to content

Commit

Permalink
updated both jquery to 1.4.2, pulling from Google CDN, updated lazy l…
Browse files Browse the repository at this point in the history
…oad to 1.5.0
  • Loading branch information
ayn committed Mar 18, 2010
1 parent 4f64cfe commit a9fe144
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 24 deletions.
19 changes: 0 additions & 19 deletions javascripts/jquery.js

This file was deleted.

12 changes: 12 additions & 0 deletions javascripts/jquery.lazyload.mini.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion javascripts/jquery.lazyload.pack.js

This file was deleted.

8 changes: 4 additions & 4 deletions jq_img_lazy_load.php
Expand Up @@ -11,11 +11,11 @@

function jquery_lazy_load_headers() {
$plugin_path = plugins_url('/', __FILE__);
$lazy_url = $plugin_path . 'javascripts/jquery.lazyload.pack.js';
$jq_url = $plugin_path . 'javascripts/jquery.js';
$lazy_url = $plugin_path . 'javascripts/jquery.lazyload.mini.js';
$jq_url = 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js';
wp_deregister_script('jquery');
wp_enqueue_script('jquery', $jq_url, false, '1.3.2');
wp_enqueue_script('jquerylazyload', $lazy_url, 'jquery', '1.4.0');
wp_enqueue_script('jquery', $jq_url, false, '1.4.2');
wp_enqueue_script('jquerylazyload', $lazy_url, 'jquery', '1.5.0');
}

function jquery_lazy_load_ready() {
Expand Down

0 comments on commit a9fe144

Please sign in to comment.