File tree 1 file changed +10
-5
lines changed 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -42,15 +42,20 @@ $ npm install --save css-animator
42
42
$ jspm install npm:css-animator
43
43
```
44
44
45
- ## Use the bundle
45
+ ## Use the ` UMD ` bundle
46
46
47
- See https://jsfiddle.net/qxtvgL98/72/ for a full example
47
+ | Name (to ` require ` ) | Bundle | |
48
+ | --- | --- | ---
49
+ | ` css-animator/builder ` | ` bundles/builder.min.js ` | Includes ` AnimationBuilder ` only |
50
+ | ` css-animator ` | ` bundles/css-animator.min.js ` | Requires ` @angular/core ` as peer dependency |
51
+
52
+ > See https://jsfiddle.net/4ec57wpb/1/ for a full basic example
48
53
49
54
``` html
50
55
<html >
51
56
<head >
52
- <script src =" https://unpkg.com/css-animator@2.4.0-beta.4 /bundles/builder.min.js" ></script >
53
- <link rel =" stylesheet" href =" https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5 .2/animate.min.css" />
57
+ <script src =" https://unpkg.com/css-animator@latest /bundles/builder.min.js" ></script >
58
+ <link rel =" stylesheet" href =" https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7 .2/animate.min.css" />
54
59
</head >
55
60
<body >
56
61
<!-- ... -->
@@ -61,7 +66,7 @@ See https://jsfiddle.net/qxtvgL98/72/ for a full example
61
66
const animator = new AnimationBuilder ();
62
67
63
68
// ...
64
- });
69
+ })() ;
65
70
</script >
66
71
</body >
67
72
</html >
You can’t perform that action at this time.
0 commit comments