From 9e78f1c61dcfb3c44d2399e39c7126e7d481fd7b Mon Sep 17 00:00:00 2001
From: Nick Jurista
Date: Tue, 15 Jan 2013 10:52:40 -0500
Subject: [PATCH 01/37] Updating 'transitionEnd' to 'transitionend' for IE10
support
---
jquery.transit.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jquery.transit.js b/jquery.transit.js
index 561b49a..046babb 100644
--- a/jquery.transit.js
+++ b/jquery.transit.js
@@ -69,7 +69,7 @@
support.transform3d = checkTransform3dSupport();
var eventNames = {
- 'transition': 'transitionEnd',
+ 'transition': 'transitionend',
'MozTransition': 'transitionend',
'OTransition': 'oTransitionEnd',
'WebkitTransition': 'webkitTransitionEnd',
From 7200f914a5829b160b6391fdf31d48b1ed973f03 Mon Sep 17 00:00:00 2001
From: Etienne
Date: Tue, 24 Sep 2013 17:43:18 -0400
Subject: [PATCH 02/37] Add a missing easing: 'easeInCubic'
---
jquery.transit.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/jquery.transit.js b/jquery.transit.js
index cb559a4..3949382 100644
--- a/jquery.transit.js
+++ b/jquery.transit.js
@@ -101,6 +101,7 @@
'in-out': 'ease-in-out',
'snap': 'cubic-bezier(0,1,.5,1)',
// Penner equations
+ 'easeInCubic': 'cubic-bezier(.550,.055,.675,.190)',
'easeOutCubic': 'cubic-bezier(.215,.61,.355,1)',
'easeInOutCubic': 'cubic-bezier(.645,.045,.355,1)',
'easeInCirc': 'cubic-bezier(.6,.04,.98,.335)',
From 34d44f1de153e5b8a41292e0184be991277da1eb Mon Sep 17 00:00:00 2001
From: Ebrahim Abuelnga
Date: Sat, 5 Oct 2013 21:53:04 +0200
Subject: [PATCH 03/37] Remove redundant line
Remove an extra line that tests if property already exists and needs no prefix.
---
jquery.transit.js | 2 --
1 file changed, 2 deletions(-)
diff --git a/jquery.transit.js b/jquery.transit.js
index cb559a4..f5e566b 100644
--- a/jquery.transit.js
+++ b/jquery.transit.js
@@ -43,8 +43,6 @@
var prefixes = ['Moz', 'Webkit', 'O', 'ms'];
var prop_ = prop.charAt(0).toUpperCase() + prop.substr(1);
- if (prop in div.style) { return prop; }
-
for (var i=0; i
Date: Thu, 13 Feb 2014 11:07:12 +0100
Subject: [PATCH 04/37] fixed bug where queue would always be set to true
fixed bug where queue would always be set to true when using `.transition(properties, options)
---
jquery.transit.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jquery.transit.js b/jquery.transit.js
index eb1e0f0..f523613 100644
--- a/jquery.transit.js
+++ b/jquery.transit.js
@@ -546,7 +546,7 @@
if (typeof duration === 'object') {
easing = duration.easing;
delay = duration.delay || 0;
- queue = duration.queue || true;
+ queue = typeof duration.queue === "undefined" ? true : duration.queue;
callback = duration.complete;
duration = duration.duration;
}
From 2ed235e588e4558f306e313509b7aa4877ada53d Mon Sep 17 00:00:00 2001
From: Yousef
Date: Thu, 13 Feb 2014 13:11:36 +0100
Subject: [PATCH 05/37] bugfix wrong scope when callOrQueue doesn't queue
---
jquery.transit.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/jquery.transit.js b/jquery.transit.js
index f523613..0246342 100644
--- a/jquery.transit.js
+++ b/jquery.transit.js
@@ -449,7 +449,9 @@
} else if (queue) {
self.queue(queue, fn);
} else {
- fn();
+ self.each(function () {
+ fn.call(this);
+ });
}
}
From 026e55b9fd5b9b5589630b3bd776cbca11f6d2a7 Mon Sep 17 00:00:00 2001
From: Yousef
Date: Thu, 13 Feb 2014 13:33:35 +0100
Subject: [PATCH 06/37] added scaleX and scaleY css hooks
---
jquery.transit.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/jquery.transit.js b/jquery.transit.js
index 0246342..939c892 100644
--- a/jquery.transit.js
+++ b/jquery.transit.js
@@ -220,6 +220,8 @@
// ## Other CSS hooks
// Allows you to rotate, scale and translate.
registerCssHook('scale');
+ registerCssHook('scaleX');
+ registerCssHook('scaleY');
registerCssHook('translate');
registerCssHook('rotate');
registerCssHook('rotateX');
From 38d8648f520db9ac15ae6fdc28886ee5ae0f29c0 Mon Sep 17 00:00:00 2001
From: "Rico Sta. Cruz"
Date: Wed, 23 Apr 2014 14:37:32 +0800
Subject: [PATCH 07/37] Update HISTORY.md.
---
HISTORY.md | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/HISTORY.md b/HISTORY.md
index e06dc43..380926d 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -1,3 +1,16 @@
+v0.9.10 - Unreleased
+--------------------
+
+ * Add support for `scaleX` and `scaleY`. (@YousefED, #192)
+ * Fix `.transition({...}, {queue: false})` not being honored. (@YousefED, #192)
+ * Remove some redundant code. (@Bongo, #165)
+ * Docs: Update to support the new docco. (@francismakes, #175)
+ * Add `easeInCubic` easing. (@emagnier, @willblackmore, #161, #142)
+
+To do:
+
+ * Update bootstrap compatibility (#143)
+
v0.9.9 - Dec 14, 2012
---------------------
From 20d19afc3f27b63f7f0913679ed845fce17ba1ba Mon Sep 17 00:00:00 2001
From: "Rico Sta. Cruz"
Date: Thu, 24 Apr 2014 16:35:40 +0800
Subject: [PATCH 08/37] Update HISTORY.md
---
HISTORY.md | 1 +
1 file changed, 1 insertion(+)
diff --git a/HISTORY.md b/HISTORY.md
index 380926d..28b882e 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -6,6 +6,7 @@ v0.9.10 - Unreleased
* Remove some redundant code. (@Bongo, #165)
* Docs: Update to support the new docco. (@francismakes, #175)
* Add `easeInCubic` easing. (@emagnier, @willblackmore, #161, #142)
+ * Fix transitionend support for IE10, Chrome, and many others. (@wambotron, #103)
To do:
From f0597855b27fcbded837be855b4624583730d476 Mon Sep 17 00:00:00 2001
From: Henrik Hjelte
Date: Fri, 30 Aug 2013 07:33:44 +0100
Subject: [PATCH 09/37] Fix tests so they work with jQuery>2.0 as well as the
older versions Changed .live handlers to .click etc that works in all jQuery
versions
---
test/index.html | 1 +
test/test.js | 43 +++++++++++++++++++++++++------------------
2 files changed, 26 insertions(+), 18 deletions(-)
diff --git a/test/index.html b/test/index.html
index 7a847a8..5b9c893 100644
--- a/test/index.html
+++ b/test/index.html
@@ -33,6 +33,7 @@
Use:
+
jQ 2.0.3
jQ 1.9.0b1
jQ 1.8
jQ 1.7
diff --git a/test/test.js b/test/test.js
index ed88d03..a015441 100644
--- a/test/test.js
+++ b/test/test.js
@@ -1,25 +1,31 @@
(function($) {
/* Simple test framework of sorts */
- $('.test').live('mouseenter play', function() {
- var $test = $(this).closest('.test');
- $test.trigger('reset');
- var $box = $test.find('.box:not(.ghost)');
- var $ghost = $box.clone().addClass('ghost').appendTo($test.find('.area'));
- $test.data('code').fn($box, $test);
- });
- $('.test').live('mouseleave reset', function() {
- var $test = $(this).closest('.test');
- var $ghost = $test.find('.ghost');
- if ($ghost.length) {
- $test.find('.box:not(.ghost)').remove();
- $test.find('.ghost').removeClass('ghost');
- }
- });
-
- $('.play-all').live('click', function() {
- $('.test').trigger('play');
+ function addTestEvents ($test) {
+ $test.bind('mouseenter play', function() {
+ var $test = $(this).closest('.test');
+ $test.trigger('reset');
+ var $box = $test.find('.box:not(.ghost)');
+ var $ghost = $box.clone().addClass('ghost').appendTo($test.find('.area'));
+
+ $test.data('code').fn($box, $test);
+ });
+
+ $test.bind('mouseleave reset', function() {
+ var $test = $(this).closest('.test');
+ var $ghost = $test.find('.ghost');
+ if ($ghost.length) {
+ $test.find('.box:not(.ghost)').remove();
+ $test.find('.ghost').removeClass('ghost');
+ }
+ });
+ }
+
+ $(document).ready(function () {
+ $('.play-all').bind('click', function() {
+ $('.test').trigger('play');
+ });
});
function test(name, fn) {
@@ -36,6 +42,7 @@
$test.find('h3').html(name);
$test.find('pre').text(code);
$test.data('code', {fn: fn});
+ addTestEvents($test);
$('.tests').append($test);
}
From 3d2a5cff012b2ede3d307435178de97c92b14a05 Mon Sep 17 00:00:00 2001
From: Henrik Hjelte
Date: Fri, 30 Aug 2013 15:28:40 +0100
Subject: [PATCH 10/37] Testcase for transition of transform (Affects Webkit)
---
test/index.html | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/test/index.html b/test/index.html
index 5b9c893..ac4a924 100644
--- a/test/index.html
+++ b/test/index.html
@@ -158,6 +158,12 @@ jQuery transit tests
.transition({ opacity: 0 });
});
+ test('Transition of transform (no jump first time)', function($box) {
+ $box
+ .transition({ transform: "translateX(80px)" });
+ });
+
+