Fix jQuery compatibility issues in jquery.color.js
authorGergő Tisza <tgr.huwiki@gmail.com>
Thu, 27 Feb 2014 00:26:50 +0000 (00:26 +0000)
committerMark Holmquist <mtraceur@member.fsf.org>
Wed, 5 Mar 2014 23:45:22 +0000 (15:45 -0800)
commitdd2efb44f410fbcfd54731286ccd259a29eee0bf
tree8a95aca143ef652dfca722fd1470c82db6c59a34
parent95cbaf35ca13866813b09252c4261c2a2309dff0
Fix jQuery compatibility issues in jquery.color.js

Fix two issues which caused jquery.color to be incompatible with
the currently used jQuery version:
* The $.fx.step hook in jquery.color.js relied on fx.state which is
  not provided by current jQuery. This commit replaces it with
  a manual flag (the same logic is used in the official jquery.color
  plugin).
* It used $.curCSS which has been replaced by $.css.

Change-Id: I3aa0d912b21da40167124c646fb1b35beb277a33
resources/jquery/jquery.color.js
tests/qunit/QUnitTestResources.php
tests/qunit/suites/resources/jquery/jquery.color.test.js [new file with mode: 0644]