Releases: jwarby/jquery-awesome-cursor
FontAwesome now an optional dependency
FontAwesome is now an optional dependency (#21). For npm installs, installation of FontAwesome can be skipped by passing the --no-optional flag when running npm install. For Bower, the dependency is omitted entirely and must be installed manually by end users (as Bower doesn't allow optional dependencies to be specified).
Bug fix for clipped icons
Certain icons were being clipped when used as a cursor, eg usb, reddit-alien. This release fixes the issue, but there is still the potential for the issue to occur on high DPI screens.
Thanks to @jcppman for the fix!
Add "main" field to package.json
Allows plugin to be used correctly with Browserify and similar tools
Remove minor version constraints from dependencies
The FontAwesome dependency was locked down to v4.2.x due to an oversight. This release fixes that, and makes Bower/npm install the latest 4.x version of FontAwesome when installing/updating.
The jQuery plugin manifest has also been removed, as the jQuery Plugin Registry has been changed to read-only mode and can no longer be published to.
Chrome bug fix, test updates
This release fixes an issue where Chrome seems to not bother setting an element's cursor in the style attribute if it is already set. Other changes include:
- Tests have been updated to run via Karma.
- License field in package.json uses the SPDX-compliant format string
Chrome bug fix and updated devDependencies
This release fixes an issue where cursors would be rendered wrapped in single quotation marks in Chrome (issue #14). devDependencies have also been updated to the latest stable versions, except the jshint-stylish reporter, as updating to version 2 of this package causes grunt to fail.
Firefox bug fix and updated devDependencies
This release fixes an issue where cursors would be rendered wrapped in double quotation marks in Firefox (issue #10). devDependencies have also been updated to the latest stable versions.
Alternative Icon Fonts
-
This release allows an alternative icon font to be used in place of FontAwesome, by setting the
fontoption accordingly.See the documentation site's entry for more information http://jwarby.github.io/jquery-awesome-cursor/#using-different-fonts
Cursor outlines
-
It is now possible to add an outline to a cursor by specifying the color of the outline, using the new
outlineoption. Theoutlineoption can be set to any valid CSS color string.See the documentation site's entry for more information http://jwarby.github.io/jquery-awesome-cursor/#outline
Rotated cursors
-
Rotated cursors are now possible by setting the
rotateoption.rotateis the number of degrees to rotate the cursor by, and can be positive or negative.See the documentation site's entry for more information http://jwarby.github.io/jquery-awesome-cursor/#rotate
-
Any
fliptransformations ('horizontal','vertical', or'both') are now applied last; that is, therotatetransformation will be applied before thefliptransformation