cursorlib
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "cursorlib", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Generates cursors from canvas (even '.cur' compatible with MSIE)", | ||
@@ -26,6 +26,6 @@ "main": "src/cursorlib.js", | ||
"devDependencies": { | ||
"grunt": "^0.4.5", | ||
"grunt-browserify": "^3.8.0", | ||
"grunt-contrib-uglify": "^0.9.1" | ||
"grunt": "^1.0.1", | ||
"grunt-browserify": "^5.0.0", | ||
"grunt-contrib-uglify": "^2.0.0" | ||
} | ||
} |
@@ -36,2 +36,8 @@ # CursorLib: generates cursors from canvas | ||
## Changelog | ||
* **1.0.1:** Detect Edge to generate a MS cursor for it (#10) | ||
* **1.0.0:** Initial release | ||
## License | ||
@@ -38,0 +44,0 @@ |
@@ -132,3 +132,3 @@ /* | ||
// MSIE | ||
if (window.ActiveXObject || "ActiveXObject" in window) { | ||
if (window.ActiveXObject || /Edge/.test(navigator.userAgent)) { | ||
var blob = canvasToMsCursor(canvas, hotspotX, hotspotY); | ||
@@ -135,0 +135,0 @@ var url = URL.createObjectURL(blob); |
Sorry, the diff of this file is not supported yet
74
10913
5
128