mirror of
https://github.com/wahyd4/cdnjs.git
synced 2026-08-20 18:27:57 +10:00
d2eec68e551334c6b194e6bd9b68ff3de448d935
- Added TweenMax.globalTimeScale() method for getting/setting the global time scale (often it's better to use TimelineLite.exportRoot(), though, so please see docs). - Added a workaround for the iOS bug that sometimes neglects to call the requestAnimationFrame callback when returning to a tab that had been inactive (browser bug, not GSAP), causing animations to cease. - Fixed issue that could cause tweens in a nested TimelinLite or TimelineMax not to render their beginning states correctly when the virtual playhead of the grandparent is moved backwards beyond the starting point of the parent timeline. - Altered autoAlpha behavior in CSSPlugin so that instead of explicitly setting visibility to "visible" when opacity isn't zero, it now sets it to "inherit" so that behaves more intuitively when it has an ancestor whose visibility is "hidden" (the descendent should honor that) - Fixed an issue that could cause fromTo() tweens not to render their initial state correctly when the "from" value is relative (has a "+=" or "-=" prefix). - Added "scroll", "scrollTop", and "scrollLeft" types to Draggable and improved performance. - Minor performance improvements
cdnJS Script Repository
The repository mirroring all scripts on cdnjs.cloudflare.com, created and maintained by Thomas Davis and Ryan Kirkman.
We will host any version of any library. Feel free to add a pull request for an older version of a library if your site still uses it.
Libraries must have notable popularity. 100 watchers on GitHub is a good example, but as long as reasonably popularity can be demonstrated the library will be added.
Extensions, Plugins, Resources
Extensions, Plugins, Resources
Pull requests steps
- Fork this repository
- Install all the needed dependencies locally (you will need
node):npm install
- Add your library (following the conventions of this repository)
- 1 commit per pull request
- 1 library per pull request
- The pull request must be tagged in the original repository (some exceptions apply)
- include a package.json in the npm format (see
test/schemata/npm-package.jsonfor details - it's very simple) - Run
npm testto check everything is ok
- Send us a pull request.
- Make sure you include in the pull description:
- Where you downloaded the script
- If it isn't clear, how you found the version of the script
- e.g. https://github.com/cdnjs/cdnjs/pull/541
- If the library doesn't already provide a minified version, our preferred minifier is UglifyJS
Running the validator
- Install all the needed dependencies locally (you will need
node):npm install - Run the test suite:
npm test
Languages
JavaScript
94.7%
CSS
5.3%
