mojs / mojs.github.io Goto Github PK
View Code? Open in Web Editor NEWWebsite for mojs tutorials and documentation
Home Page: https://mojs.github.io
License: MIT License
Website for mojs tutorials and documentation
Home Page: https://mojs.github.io
License: MIT License
Get's this error while using the MojsInteractive Vue component:
[Vue warn]: Failed to resolve async component: function () {
return Promise.all(/*! import() */[__webpack_require__.e(54), __webpack_require__.e(6)]).then(__webpack_require__.bind(null, /*! ./docs/.vuepress/components/MojsInteractive */ "./docs/.vuepress/components/MojsInteractive.vue"));
}
Reason: ReferenceError: global is not defined
Probably related to this issue in VuePress or this issue in Vue Prism Editor
Page: https://mojs.github.io/api/easing/path-easing.html
Solution: Clone the CodePen and use the CDN version of mojs instead of a dropboxcontent version.
https://mojs.github.io/api/utils/stagger.html
not cunstructor!
Link to docs: https://mojs.github.io/api/easing/approximate.html
Also fix this demo that is broken:
https://codepen.io/sol0mka/pen/LZWRMm?editors=0010
var burst = new Burst({
radius: { 15: 50 }
children: {
fill: [ 'deeppink', 'cyan', 'orange' ],
}
});
And it should be mojs.Burst
The codepens often include the source of mojs which should not be the case: all pens need to refer to the minified version of mojs from jsdelivr. In additon, some codepens in the documentation are not properly working or sometimes broken (404).
Update the documentation to use the latest organization scoped package @mojs/core
instead of the old mo-js
package name.
Was somebody able to make this thing work with react and functional components? Would be great if somebody could share some ideas.
If not, can I translate a Chinese website for Chinese people to learn? It won't infringe, will it?
Ex at https://mojs.github.io/api/burst/ - link ShapeSwirl API goes to https://mojs.github.io/api/shape-swirl.html. Should go to https://mojs.github.io/api/shape-swirl/
Please add more dead links in comments below.
Would it be possible if you add examples with React.js?
onClick() animations, page fade-in, etc.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.