Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit ae7baec

Browse files
committed
make compatible with the new plugins system.
1 parent 280f7b6 commit ae7baec

7 files changed

Lines changed: 66 additions & 2330 deletions

File tree

.babelrc

Lines changed: 0 additions & 9 deletions
This file was deleted.

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Super simple example:
1212
```javascript
1313
var rules = Keyframes.bezierPath( { name: 'curvy' } , [1,1], [400,1], [200,300] );
1414
Keyframes.define([rules]);
15-
$(window).load(function(){
15+
window.onload = () => {
1616
const block = document.querySelectorAll('.block1')[0];
1717
block.play('curvey 5s ease 0 1 normal forwards');
18-
});
18+
};
1919
```
2020

2121
## Advanced Bezier Curve
@@ -28,10 +28,10 @@ Simple example:
2828
```javascript
2929
var rules = Keyframes.bezierPath( { name: 'curvyplus' }, [1,100], [800,100], [400,-100], [50, 600]);
3030
Keyframes.define([rules]);
31-
$(window).load(function() {
31+
window.onload = () => {
3232
const block = document.querySelectorAll('.block1')[0];
3333
block.play('curveyplus 5s ease 0 1');
34-
});
34+
};
3535
```
3636

3737
## Circular Paths
@@ -42,10 +42,10 @@ Simple Example:
4242
```javascript
4343
var rules = Keyframes.circlePath( { name: 'circular' }, [100, 100], 40);
4444
Keyframes.define([rules]);
45-
$(window).load(function() {
45+
window.onload = () => {
4646
const block = document.querySelectorAll('.block1')[0];
4747
block.play('circular 5s linear 0 infinite');
48-
});
48+
};
4949
```
5050

5151
## Options

dist/keyframes.pathfinder.js

Lines changed: 0 additions & 103 deletions
This file was deleted.

dist/keyframes.pathfinder.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)