Comments (4)
@fungw hi! Thanks for the issue and sorry about that.
It happens for you because the library got a large update for tweening engine, with breaking API changes so run
method is not available anymore. To make your code work you have to lock the version of the mojs
to previous ones (before 0.265.6) - you can find the older versions hosting of your choice (jsDelivr, bower, npm).
Alternatively, you can find the new APIs here and use the new syntax. I hope you will love the new ones as I do. These ones can be considered locked
and probably will never changed. Not sure what module you use and how you do it, but you probably want to suppress the run
method with play
or replay
ones.
Sorry again for inconvenience, the new tutorials will be released just tomorrow - you are early bird with the change :) Cheers
from mojs.
@fungw oh yeah, almost forgot, if you are using mojs
a lot - you might like the MojsPlayer - that's a debugger tool that helps you to craft long mojs sequences. It works with the new version (0.265.6) tho.
from mojs.
Thanks for the quick response!
Apologies for being slightly ignorant in this case, I noticed your commits in the past week but wasn't sure so I thought I would ask.
MojsPlayer, I will check it out, thanks again.
++ keep up the solid work man
from mojs.
Thanks! Happy to help!
from mojs.
Related Issues (20)
- GPR publication workflow failure HOT 2
- Not working on IE HOT 2
- then() method is firing error "TypeError: Cannot read property '4' of null" HOT 9
- 可以为mojs添加一个removeShape的功能吗 HOT 3
- Improve the way custom shapes are instantiated HOT 4
- Unable to import in "modules" mode HOT 3
- The file imported by cdn reports an error(a native html page) HOT 2
- Como corrigir o erro/How to fix the error: Uncaught TypeError: Cannot read properties of null (reading 'appendChild') HOT 1
- Offset on click animations HOT 3
- Frame-by-frame animation HOT 6
- Independent delta not working in .then HOT 4
- Move Shape To Absolute Position HOT 1
- Document How to Add `pointer-events: none` To Shape/Timeline HOT 2
- @mojs/core not working with remix.run > ReferenceError: self is not defined HOT 1
- Mo.js support for typescript HOT 1
- Upgrade to NodeJS 20 HOT 5
- Showcase code is not working HOT 3
- The `dist` folder is missing in the npm package for `v1.7.0` HOT 1
- Tween has chance to be played 2 times rapidly in a timeline. HOT 3
- Path Easing Debugging
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mojs.