mirror of
https://github.com/wahyd4/cdnjs.git
synced 2026-08-16 00:06:15 +10:00
f6d22bf240b4f51a0658c84ea569c839efae2d2a
- Added new "lockAxis" feature to Draggable that [optionally] automatically locks dragging to either the horizontal or vertical axis (depending on the direction that the user begins dragging) - Improved IE11 compatibility with Draggable (previously clicks/touches were intermittently ignored in IE11 only). - Fixes regression that prevented the core ticker from powering down after no tweens are active (just to save some CPU cycles). - Fixed issue that could cause a percentage-based css tween to measure as if the target is absolutely positioned even if it's not. - Worked around a bug in the Firefox browser related to animating a 32-bit PNG from a scale of 0 in which case the transparent areas got rendered as black on the Mac. - Worked around a bug in the Firefox browser that caused thin broken black borders on elements whose transform had a perspective applied but no other 3D-related transforms like z, rotationX, or rotationY. - Fixed an issue that could cause a backgroundPosition css tween not to render its initial position correctly in Firefox.
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%
