Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Small bug fixes (#61)
Browse files Browse the repository at this point in the history
* Update dependencies
* Small bug fixes
  • Loading branch information
shinsenter authored Aug 15, 2021
1 parent a923c4f commit ec5371e
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.1
2.4.2
40 changes: 20 additions & 20 deletions composer.lock

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

6 changes: 3 additions & 3 deletions defer-wordpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* Plugin Name: A faster website! (aka defer.js)
* Plugin URI: https://wordpress.org/plugins/shins-pageload-magic/
* Description: 💯 Latest web technologies in website optimization by experienced web experts. 🔰 Very easy to use.
* Version: 2.4.1
* Version: 2.4.2
* Author: Mai Nhut Tan
* Author URI: https://code.shin.company/
* License: GPL-2.0+
Expand All @@ -44,7 +44,7 @@
if (!defined('DEFER_WP_PLUGIN_VERSION')) {
define('DEFER_WP_PLUGIN_BASE', plugin_basename(__FILE__));
define('DEFER_WP_PLUGIN_NAME', 'defer-wordpress');
define('DEFER_WP_PLUGIN_VERSION', '2.4.1');
define('DEFER_WP_PLUGIN_VERSION', '2.4.2');
define('DEFER_WP_PLUGIN_PREFIX', DEFER_WP_PLUGIN_NAME . '_');

define('DEFER_WP_PLUGIN_HOOK', 'plugin_action_links_' . DEFER_WP_PLUGIN_BASE);
Expand All @@ -58,7 +58,7 @@
$has_deferjs = file_exists(__DIR__ . '/public/lib/defer_plus.min.js');
define('DEFER_WP_SRC_DEFERJS_CDN', $has_deferjs
? __DIR__ . '/public/lib/defer_plus.min.js'
: 'https://cdn.jsdelivr.net/npm/@shinsenter/defer.js@2.4.2/dist/defer_plus.min.js');
: 'https://cdn.jsdelivr.net/npm/@shinsenter/defer.js@2.5.0/dist/defer_plus.min.js');

$has_polyfill = file_exists(__DIR__ . '/public/lib/polyfill.min.js');
define('DEFER_WP_SRC_POLYFILL_CDN', $has_polyfill
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Mai Nhut Tan <shin@shin.company>",
"license": "GPL-2.0",
"dependencies": {
"@shinsenter/defer.js": "^2.4.2"
"@shinsenter/defer.js": "^2.5.0"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit ec5371e

Please sign in to comment.