Fatina v3.0
Description
New Feature / Improvements:
- Display version number in browser
- Embed version number in build file as comment
- Add
npm run dev
to easily test samples and make dev easier - update
.yoyo()
to handle infinite loop (.yoyo(-1)
) - Add presets (demo):
- Wobble
- Scale
- Sonar
- Pulse
- Shake
API change (breaking change):
- Now use export default to have better auto-completion and support for ESM module & Typescript
// TS / ESM import
import * as Fatina from 'fatina';
// become simpler =>
import Fatina from 'fatina';
// Node require
var Fatina = require('fatina');
// become slightly longer =>
var Fatina = require('fatina').default;
Bug Fixes:
- fix
.d.ts
declaration files