Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

Commit

Permalink
Deprecated 'options.hoverClass' and 'options.activeClass'.
Browse files Browse the repository at this point in the history
Fixes #251.
  • Loading branch information
JamesMGreene committed Dec 25, 2013
1 parent a9c3622 commit f97f14a
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 7 deletions.
4 changes: 2 additions & 2 deletions ZeroClipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,6 @@
moviePath: "ZeroClipboard.swf",
trustedOrigins: null,
text: null,
hoverClass: "zeroclipboard-is-hover",
activeClass: "zeroclipboard-is-active",
allowScriptAccess: "sameDomain",
useNoCache: true,
forceHandCursor: false,
Expand Down Expand Up @@ -582,6 +580,8 @@
function _isFlashVersionSupported(flashVersion) {
return parseFloat(flashVersion.replace(/,/g, ".").replace(/[^0-9\.]/g, "")) >= 10;
}
_defaults.hoverClass = "zeroclipboard-is-hover";
_defaults.activeClass = "zeroclipboard-is-active";
ZeroClipboard.detectFlashSupport = function() {
var debugEnabled = ZeroClipboard.prototype._singleton && ZeroClipboard.prototype._singleton.options.debug || _defaults.debug;
_deprecationWarning("ZeroClipboard.detectFlashSupport", debugEnabled);
Expand Down

0 comments on commit f97f14a

Please sign in to comment.