Skip to content

Commit

Permalink
1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
websevendev committed Dec 17, 2021
1 parent aa1a2a8 commit 4a85aef
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion animations-for-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Animations for Blocks
* Plugin URI: https://wordpress.org/plugins/animations-for-blocks
* Description: Allows to add animations to Gutenberg blocks on scroll.
* Version: 1.0.2
* Version: 1.0.3
* Author: websevendev
* Author URI: https://chap.website/author/websevendev
*/
Expand Down
6 changes: 4 additions & 2 deletions includes/assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@
* @see https://github.com/michalsnik/aos
*/
function register_aos() {
$asset = include WSD_ANFB_DIR . '/build/index.asset.php';

wp_register_style(
WSD_ANFB_AOS_HANDLE,
plugins_url('build/aos.css', WSD_ANFB_FILE),
[],
'3.0.0-beta.6',
$asset['version'], // 3.0.0-beta.6
'all'
);

wp_register_script(
WSD_ANFB_AOS_HANDLE,
plugins_url('build/aos.js', WSD_ANFB_FILE),
[],
'3.0.0-beta.6',
$asset['version'], // 3.0.0-beta.6
true
);
}
Expand Down
1 change: 1 addition & 0 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: gutenberg, block, animation, animate, scroll, fade, flip, slide, zoom, mov
Requires at least: 5.6
Tested up to: 5.8
Requires PHP: 5.4
Stable tag: 1.0.2
Stable tag: 1.0.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -64,6 +64,9 @@ When none of the animated elements show up on your site it's possibly due to a J

== Changelog ==

= 1.0.3 =
* Use generated version number for AOS library.

= 1.0.2 =
* Fix encoding for dynamic blocks.

Expand Down

0 comments on commit 4a85aef

Please sign in to comment.