From 9e78f1c61dcfb3c44d2399e39c7126e7d481fd7b Mon Sep 17 00:00:00 2001 From: Nick Jurista Date: Tue, 15 Jan 2013 10:52:40 -0500 Subject: [PATCH 01/46] 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 4cdb63d76382bc87d4ea8430f2837d356a4a2064 Mon Sep 17 00:00:00 2001 From: Fabrice Weinberg Date: Sun, 24 Feb 2013 03:26:40 +0100 Subject: [PATCH 02/46] Add css filter support --- jquery.transit.js | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/jquery.transit.js b/jquery.transit.js index 561b49a..3325e44 100644 --- a/jquery.transit.js +++ b/jquery.transit.js @@ -66,6 +66,7 @@ support.transitionDelay = getVendorPropertyName('transitionDelay'); support.transform = getVendorPropertyName('transform'); support.transformOrigin = getVendorPropertyName('transformOrigin'); + support.filter = getVendorPropertyName('Filter'); support.transform3d = checkTransform3dSupport(); var eventNames = { @@ -169,6 +170,20 @@ set: $.cssHooks['transit:transform'].set }; + // ## 'filter' CSS hook + // Allows you to use the `filter` property in CSS. + // + // $("#hello").css({ filter: 'blur(10px)' }); + // + $.cssHooks.filter = { + get: function(elem) { + return elem.style[support.filter]; + }, + set: function(elem, value) { + elem.style[support.filter] = value; + } + }; + // jQuery 1.8+ supports prefix-free transitions, so these polyfills will not // be necessary. if ($.fn.jquery < "1.8") { @@ -692,4 +707,4 @@ // Export some functions for testable-ness. $.transit.getTransitionValue = getTransition; -})(jQuery); +})(jQuery); \ No newline at end of file From 1620a79f11c62b0b8105ec7164806d54993083a6 Mon Sep 17 00:00:00 2001 From: Fabrice Weinberg Date: Sun, 24 Feb 2013 03:41:45 +0100 Subject: [PATCH 03/46] Add transition support for css filter --- jquery.transit.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jquery.transit.js b/jquery.transit.js index 3325e44..522dbeb 100644 --- a/jquery.transit.js +++ b/jquery.transit.js @@ -464,6 +464,10 @@ key = $.transit.propertyMap[key] || $.cssProps[key] || key; key = uncamel(key); // Convert back to dasherized + // Get vendor specify propertie + if (support[key]) + key = uncamel(support[key]); + if ($.inArray(key, re) === -1) { re.push(key); } }); From 65badbe8b656b64047561081053602c4756e923f Mon Sep 17 00:00:00 2001 From: Aeron Glemann Date: Mon, 15 Apr 2013 08:26:06 -0600 Subject: [PATCH 04/46] Adding support for "normal" fx speed. --- jquery.transit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.transit.js b/jquery.transit.js index 561b49a..b0e0b02 100644 --- a/jquery.transit.js +++ b/jquery.transit.js @@ -685,7 +685,7 @@ var i = duration; // Allow for string durations like 'fast'. - if ($.fx.speeds[i]) { i = $.fx.speeds[i]; } + if (typeof i === 'string') { i = $.fx.speeds[i] || $.fx.speeds._default; } return unit(i, 'ms'); } From 54713012e46828bd41e30bca2fe6114adeffb5d4 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Wed, 17 Apr 2013 03:38:17 +0800 Subject: [PATCH 05/46] Remove the useless .gitignore. --- .gitignore | 6 ------ 1 file changed, 6 deletions(-) delete mode 100644 .gitignore diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 7e004f5..0000000 --- a/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/site/_output -/site/source.html -/site/jquery.transit.js -/site/jquery.transit.min.js -/site/.sass-cache -/site/test From df3d2683a27eb61d4aa46bbdfd25594bcf11ea49 Mon Sep 17 00:00:00 2001 From: Rafal Lindemann Date: Sat, 23 Feb 2013 12:51:42 +0100 Subject: [PATCH 06/46] Support for transition(properties, options) syntax. fixes #25 --- jquery.transit.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/jquery.transit.js b/jquery.transit.js index b0e0b02..9b68516 100644 --- a/jquery.transit.js +++ b/jquery.transit.js @@ -521,6 +521,15 @@ duration = undefined; } + // Account for `.transition(properties, options)`. + if (typeof duration === 'object') { + easing = duration.easing; + delay = duration.delay || 0; + queue = duration.queue || true; + callback = duration.complete; + duration = duration.duration; + } + // Account for `.transition(properties, duration, callback)`. if (typeof easing === 'function') { callback = easing; From 5625ab39e1e1de257cda23118641ed309fec35a2 Mon Sep 17 00:00:00 2001 From: Mike Low Date: Tue, 14 May 2013 19:23:04 +0700 Subject: [PATCH 07/46] Fixed issues breaking duration property - changed toMS to check for Nan, and deep cloned properties before deleting. --- jquery.transit.js | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/jquery.transit.js b/jquery.transit.js index 9b68516..d328dc7 100644 --- a/jquery.transit.js +++ b/jquery.transit.js @@ -515,6 +515,8 @@ var delay = 0; var queue = true; + var theseProperties = jQuery.extend(true, {}, properties); + // Account for `.transition(properties, callback)`. if (typeof duration === 'function') { callback = duration; @@ -537,29 +539,29 @@ } // Alternate syntax. - if (typeof properties.easing !== 'undefined') { - easing = properties.easing; - delete properties.easing; + if (typeof theseProperties.easing !== 'undefined') { + easing = theseProperties.easing; + delete theseProperties.easing; } - if (typeof properties.duration !== 'undefined') { - duration = properties.duration; - delete properties.duration; + if (typeof theseProperties.duration !== 'undefined') { + duration = theseProperties.duration; + delete theseProperties.duration; } - if (typeof properties.complete !== 'undefined') { - callback = properties.complete; - delete properties.complete; + if (typeof theseProperties.complete !== 'undefined') { + callback = theseProperties.complete; + delete theseProperties.complete; } - if (typeof properties.queue !== 'undefined') { - queue = properties.queue; - delete properties.queue; + if (typeof theseProperties.queue !== 'undefined') { + queue = theseProperties.queue; + delete theseProperties.queue; } - if (typeof properties.delay !== 'undefined') { - delay = properties.delay; - delete properties.delay; + if (typeof theseProperties.delay !== 'undefined') { + delay = theseProperties.delay; + delete theseProperties.delay; } // Set defaults. (`400` duration, `ease` easing) @@ -569,7 +571,7 @@ duration = toMS(duration); // Build the `transition` property. - var transitionValue = getTransition(properties, duration, easing, delay); + var transitionValue = getTransition(theseProperties, duration, easing, delay); // Compute delay until callback. // If this becomes 0, don't bother setting the transition property. @@ -579,7 +581,7 @@ // If there's nothing to do... if (i === 0) { var fn = function(next) { - self.css(properties); + self.css(theseProperties); if (callback) { callback.apply(self); } if (next) { next(); } }; @@ -694,7 +696,7 @@ var i = duration; // Allow for string durations like 'fast'. - if (typeof i === 'string') { i = $.fx.speeds[i] || $.fx.speeds._default; } + if (typeof i === NaN) { i = $.fx.speeds[i] || $.fx.speeds._default; } return unit(i, 'ms'); } From 8444201c874bb941a7e779aa2c3b90f594355c0b Mon Sep 17 00:00:00 2001 From: Mike Low Date: Tue, 14 May 2013 20:22:40 +0700 Subject: [PATCH 08/46] added a more reliable fix to toMS() --- jquery.transit.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/jquery.transit.js b/jquery.transit.js index d328dc7..96458cb 100644 --- a/jquery.transit.js +++ b/jquery.transit.js @@ -689,14 +689,16 @@ // ### toMS(duration) // Converts given `duration` to a millisecond string. // - // toMS('fast') //=> '400ms' - // toMS(10) //=> '10ms' + // toMS('fast') => $.fx.speeds[i] => "200ms" + // toMS('normal') //=> $.fx.speeds._default => "400ms" + // toMS(10) //=> '10ms' + // toMS('100ms') //=> '100ms' // function toMS(duration) { var i = duration; - // Allow for string durations like 'fast'. - if (typeof i === NaN) { i = $.fx.speeds[i] || $.fx.speeds._default; } + // Allow string durations like 'fast' and 'slow', without overriding numeric values. + if (typeof i === 'string' && (!i.match(/^[\-0-9\.]+/))) { i = $.fx.speeds[i] || $.fx.speeds._default; } return unit(i, 'ms'); } From 8ade8194eb8fac2c534e3d5b51c173afdb1a17e3 Mon Sep 17 00:00:00 2001 From: Kyle Mathews Date: Mon, 12 Aug 2013 18:59:56 +0200 Subject: [PATCH 09/46] Create bower.json --- bower.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 bower.json diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..83c4a7d --- /dev/null +++ b/bower.json @@ -0,0 +1,17 @@ +{ + "name": "jquery.transit", + "repo": "rstacruz/jquery.transit", + "description": "Smooth CSS3 transitions and transformations for jQuery.", + "version": "0.9.9", + "keywords": [ + "css3", + "animation", + "transition" + ], + "dependencies": { + "jquery": "*" + }, + "development": {}, + "license": "MIT", + "main": "jquery.transit.js" +} From 7200f914a5829b160b6391fdf31d48b1ed973f03 Mon Sep 17 00:00:00 2001 From: Etienne Date: Tue, 24 Sep 2013 17:43:18 -0400 Subject: [PATCH 10/46] 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 11/46] 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, 10 Oct 2013 13:16:21 +0800 Subject: [PATCH 12/46] Remove my email address. --- jquery.transit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.transit.js b/jquery.transit.js index cb559a4..eb1e0f0 100644 --- a/jquery.transit.js +++ b/jquery.transit.js @@ -1,6 +1,6 @@ /*! * jQuery Transit - CSS3 transitions and transformations - * (c) 2011-2012 Rico Sta. Cruz + * (c) 2011-2012 Rico Sta. Cruz * MIT Licensed. * * http://ricostacruz.com/jquery.transit From 57ea5309206672359204c903fd15f2a3ff96dddc Mon Sep 17 00:00:00 2001 From: Yousef Date: Thu, 13 Feb 2014 11:07:12 +0100 Subject: [PATCH 13/46] 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 14/46] 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 15/46] 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 16/46] 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 17/46] 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 18/46] 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 19/46] 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)" }); + }); + + From 377f9253c6f014c3995f74efb132fb359fae56b1 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Thu, 24 Apr 2014 16:46:33 +0800 Subject: [PATCH 20/46] Update HISTORY.md --- HISTORY.md | 1 + 1 file changed, 1 insertion(+) diff --git a/HISTORY.md b/HISTORY.md index 28b882e..42908fa 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -7,6 +7,7 @@ v0.9.10 - Unreleased * 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) + * Add test cases for jQuery 2.0+. (@hankhero, #155) To do: From 998e9f20561c159ead741520d60f89bcc3924f69 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Sat, 26 Apr 2014 12:32:00 +0800 Subject: [PATCH 21/46] Update HISTORY.md --- HISTORY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index 42908fa..f460f98 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -11,7 +11,7 @@ v0.9.10 - Unreleased To do: - * Update bootstrap compatibility (#143) + * Update bootstrap compatibility (#143, #67) v0.9.9 - Dec 14, 2012 --------------------- From d79995719b094830c746395cdee61a891fd9bedc Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Fri, 2 May 2014 17:17:32 +0800 Subject: [PATCH 22/46] Readme: add a note about Velocity.js --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e08ff6..a2e0915 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,11 @@ different browsers. Alternatives ------------ -__[Move.js](https://github.com/visionmedia/move.js)__ (recommended!) +__[Velocity.js](https://velocityjs.org)__ (recommended!) + + * Pros: optimized for situations with hundreds of simultaneous transitions. Lots of extra features. + +__[Move.js](https://github.com/visionmedia/move.js)__ * Pros: no jQuery dependency, great syntax. * Cons (at time of writing): no iOS support (doesn't use `translate3d`), some From 686d11dafb0c8c822c93ca58a4ec02b5b83fe391 Mon Sep 17 00:00:00 2001 From: Dmitry Minkovsky Date: Sat, 14 Jun 2014 18:31:45 -0400 Subject: [PATCH 23/46] Use injected jQuery in closure Right? Why not? --- jquery.transit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.transit.js b/jquery.transit.js index 43714b5..fd0cb4f 100644 --- a/jquery.transit.js +++ b/jquery.transit.js @@ -537,7 +537,7 @@ var delay = 0; var queue = true; - var theseProperties = jQuery.extend(true, {}, properties); + var theseProperties = $.extend(true, {}, properties); // Account for `.transition(properties, callback)`. if (typeof duration === 'function') { From 68b4f0a47f867f84fa1bfe5ac87359b5aa70245e Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 01:04:09 +0800 Subject: [PATCH 24/46] Add package.json for npm compatibility. --- package.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..2f58d7f --- /dev/null +++ b/package.json @@ -0,0 +1,30 @@ +{ + "name": "jquery.transit", + "version": "0.9.9", + "description": "Smooth CSS3 transitions and transformations for jQuery.", + "main": "jquery.transit.js", + "directories": { + "test": "test" + }, + "scripts": { + "test": "mocha" + }, + "repository": { + "type": "git", + "url": "git://github.com/rstacruz/jquery.transit.git" + }, + "keywords": [ + "css3", + "animation", + "transition" + ], + "author": "Rico Sta. Cruz ", + "license": "MIT", + "peerDependencies": { + "jquery": "*" + }, + "bugs": { + "url": "https://github.com/rstacruz/jquery.transit/issues" + }, + "homepage": "http://ricostacruz.com/jquery.transit" +} From 63209d34ce6b076774c44901d14c92135fb4ad83 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 01:07:26 +0800 Subject: [PATCH 25/46] Use the umdjs loader for better npm compatibility. --- jquery.transit.js | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/jquery.transit.js b/jquery.transit.js index 43714b5..5c38e9b 100644 --- a/jquery.transit.js +++ b/jquery.transit.js @@ -1,13 +1,26 @@ /*! * jQuery Transit - CSS3 transitions and transformations - * (c) 2011-2012 Rico Sta. Cruz + * (c) 2011-2014 Rico Sta. Cruz * MIT Licensed. * * http://ricostacruz.com/jquery.transit * http://github.com/rstacruz/jquery.transit */ -(function($) { +/* jshint expr: true */ + +;(function (root, factory) { + + if (typeof define === 'function' && define.amd) { + define(['jquery'], factory); + } else if (typeof exports === 'object') { + module.exports = factory(require('jquery')); + } else { + factory(root.jQuery); + } + +}(this, function($) { + $.transit = { version: "0.9.9", @@ -727,4 +740,6 @@ // Export some functions for testable-ness. $.transit.getTransitionValue = getTransition; -})(jQuery); + + return $; +})); From aa9b87276baac2a822aaba732ab97a16c03086e9 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 01:08:50 +0800 Subject: [PATCH 26/46] Update history.md with new changes. --- HISTORY.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index f460f98..f98e693 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,12 +1,16 @@ -v0.9.10 - Unreleased --------------------- +## v0.9.10 - unreleased * Add support for `scaleX` and `scaleY`. (@YousefED, #192) + * Add support for npm. + * Add support for RequireJS and CommonJS. + * Fix transitionend support for IE10, Chrome, and many others. (@wambotron, #103) + +Also: + * 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) - * Fix transitionend support for IE10, Chrome, and many others. (@wambotron, #103) * Add test cases for jQuery 2.0+. (@hankhero, #155) To do: From b97653102bd6df86c879c3b0ea27404653cd29ce Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 01:09:18 +0800 Subject: [PATCH 27/46] Update history.md formatting. --- HISTORY.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index f98e693..e69b574 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -17,8 +17,7 @@ To do: * Update bootstrap compatibility (#143, #67) -v0.9.9 - Dec 14, 2012 ---------------------- +## v0.9.9 - Dec 14, 2012 Many, many thanks to the many [contributors] who made this release happen! This is a pre-release of 1.0. @@ -39,8 +38,7 @@ is a pre-release of 1.0. * New test suite. * In building the website, use `fl-rocco` instead of `docco`. This removes the dependency. (#50) -v0.1.3 - Feb 14, 2012 ---------------------- +## v0.1.3 - Feb 14, 2012 ### Fixed: * Fix JS error with undefined `next` function. (#21) @@ -58,8 +56,7 @@ v0.1.3 - Feb 14, 2012 * Use the more reliable timers by default. (`useTransitionEnd` now defaults to `false`) -v0.1.2 - Jan 24, 2012 ---------------------- +## v0.1.2 - Jan 24, 2012 Thanks to code contributors @ppcano, @jeduan, @steckel, @weotch, and everyone who reported issues. @@ -76,14 +73,12 @@ who reported issues. ### Changed: * Make code compatible with jsHint. (#6) -v0.1.1 - Nov 18, 2011 ---------------------- +## v0.1.1 - Nov 18, 2011 ### Fixed: * Only animate what is needed (ie, don't use 'transition-property: all'). -v0.1.0 - Nov 14, 2011 ---------------------- +## v0.1.0 - Nov 14, 2011 Initial official release. From 70bcefa9c2769bc682c95d18388ee51b20bf73b1 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 01:13:32 +0800 Subject: [PATCH 28/46] Add some devdependencies even if they're not necessary yet. --- .gitignore | 1 + NOTES.md | 13 +++++++++++++ package.json | 6 ++++++ 3 files changed, 20 insertions(+) create mode 100644 .gitignore create mode 100644 NOTES.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c3629e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/NOTES.md b/NOTES.md new file mode 100644 index 0000000..5211c6c --- /dev/null +++ b/NOTES.md @@ -0,0 +1,13 @@ +Developer notes +=============== + +Testing: + + open test/index.html + +Making a new release: + + vim HISTORY.md # update changelog + bump *.json *.js # update version number + npm publish # release to npm + git release v1.0.0 # release to github/bower diff --git a/package.json b/package.json index 2f58d7f..e8d45fc 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,12 @@ "peerDependencies": { "jquery": "*" }, + "devDependencies": { + "chai": "1.9.1", + "sinon": "1.10.2", + "jsdom": "0.11.0", + "coffee-script": "1.7.1" + }, "bugs": { "url": "https://github.com/rstacruz/jquery.transit/issues" }, From 4dee3d436c4671a2ee3a30b28447006c7973c103 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 01:19:24 +0800 Subject: [PATCH 29/46] Update README with a mention about npm/bower. --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a2e0915..af79f8a 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,14 @@ Just include this script after jQuery. Requires jQuery 1.4+. ``` +It is also available via [bower] and [npm]. + + $ bower install --save jquery.transit + $ npm install --save jquery.transit + +[bower]: http://bower.io/search/?q=jquery.transit +[npm]: http://npmjs.org/package/jquery.transit + Transformations --------------- @@ -135,17 +143,15 @@ __[jQuery CSS3 rotate](http://plugins.jquery.com/project/Rotate)__ Acknowledgements ---------------- -© 2011, Rico Sta. Cruz. Released under the [MIT +© 2011, 2014, Rico Sta. Cruz. Released under the [MIT License](http://www.opensource.org/licenses/mit-license.php). jQuery Transit is authored and maintained by [Rico Sta. Cruz][rsc] with help -from it's [contributors][c]. It is sponsored by my startup, [Sinefunc, Inc][sf]. +from it's [contributors][c]. * [My website](http://ricostacruz.com) (ricostacruz.com) - * [Sinefunc, Inc.](http://sinefunc.com) (sinefunc.com) * [Github](http://github.com/rstacruz) (@rstacruz) * [Twitter](http://twitter.com/rstacruz) (@rstacruz) [rsc]: http://ricostacruz.com [c]: http://github.com/rstacruz/jquery.transit/contributors -[sf]: http://sinefunc.com From c00496a1291ba550067d632b591bad8e2eeb3661 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 01:21:27 +0800 Subject: [PATCH 30/46] Release v0.9.11 --- HISTORY.md | 7 +++---- NOTES.md | 7 +++++++ bower.json | 2 +- component.json | 2 +- jquery.transit.js | 2 +- package.json | 2 +- 6 files changed, 14 insertions(+), 8 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index e69b574..2adfdee 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,4 +1,4 @@ -## v0.9.10 - unreleased +## v0.9.11 - June 23, 2014 * Add support for `scaleX` and `scaleY`. (@YousefED, #192) * Add support for npm. @@ -13,9 +13,8 @@ Also: * Add `easeInCubic` easing. (@emagnier, @willblackmore, #161, #142) * Add test cases for jQuery 2.0+. (@hankhero, #155) -To do: - - * Update bootstrap compatibility (#143, #67) +The version `0.9.10` was not officially released as it was published prematurely +to npm. ## v0.9.9 - Dec 14, 2012 diff --git a/NOTES.md b/NOTES.md index 5211c6c..0e9b1cb 100644 --- a/NOTES.md +++ b/NOTES.md @@ -11,3 +11,10 @@ Making a new release: bump *.json *.js # update version number npm publish # release to npm git release v1.0.0 # release to github/bower + +v1.0.0 to do +------------ + + * .transitionStop() + * use transitionend by default (#184) + * Update bootstrap compatibility (#143, #67) diff --git a/bower.json b/bower.json index 83c4a7d..d5f429f 100644 --- a/bower.json +++ b/bower.json @@ -2,7 +2,7 @@ "name": "jquery.transit", "repo": "rstacruz/jquery.transit", "description": "Smooth CSS3 transitions and transformations for jQuery.", - "version": "0.9.9", + "version": "0.9.11", "keywords": [ "css3", "animation", diff --git a/component.json b/component.json index dff492e..bf8630d 100644 --- a/component.json +++ b/component.json @@ -2,7 +2,7 @@ "name": "jquery.transit", "repo": "rstacruz/jquery.transit", "description": "Smooth CSS3 transitions and transformations for jQuery.", - "version": "0.9.9", + "version": "0.9.11", "keywords": [ "css3", "animation", diff --git a/jquery.transit.js b/jquery.transit.js index 5c38e9b..b30b325 100644 --- a/jquery.transit.js +++ b/jquery.transit.js @@ -22,7 +22,7 @@ }(this, function($) { $.transit = { - version: "0.9.9", + version: "0.9.11", // Map of $.css() keys to values for 'transitionProperty'. // See https://developer.mozilla.org/en/CSS/CSS_transitions#Properties_that_can_be_animated diff --git a/package.json b/package.json index e8d45fc..d17f664 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jquery.transit", - "version": "0.9.9", + "version": "0.9.11", "description": "Smooth CSS3 transitions and transformations for jQuery.", "main": "jquery.transit.js", "directories": { From e803b0970de79f8e51b43af51b6e3fb2a49baa03 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 01:32:33 +0800 Subject: [PATCH 31/46] Remove Rakefile. --- .gitignore | 1 + Rakefile | 110 ----------------------------------------------------- 2 files changed, 1 insertion(+), 110 deletions(-) delete mode 100644 Rakefile diff --git a/.gitignore b/.gitignore index 3c3629e..438d6ec 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ node_modules +site diff --git a/Rakefile b/Rakefile deleted file mode 100644 index 3f124b8..0000000 --- a/Rakefile +++ /dev/null @@ -1,110 +0,0 @@ -def system(*a) - puts " $ #{a[0]}" - super -end - -module Compressor - def self.compress(jscode) - require 'net/http' - require 'uri' - - response = Net::HTTP.post_form(URI.parse('http://closure-compiler.appspot.com/compile'), { - 'js_code' => jscode, - 'compilation_level' => "SIMPLE_OPTIMIZATIONS", - 'output_format' => 'text', - 'output_info' => 'compiled_code' - }) - response.body - end - - def self.compress_with_comment(jscode) - comment = jscode.match(/(\/\*!.*?\*\/)/m) && $1 - compressed = compress(jscode) - compressed = comment + "\n" + compressed if comment - compressed - end -end - -module Helpers - def can_run?(what) - ! `which #{what}`.strip.empty? - end - - def version - contents = File.read('jquery.transit.js') - m = contents.match(/version: "(.*?)"/) - m[1] - end - - def die(str) - puts str - exit - end -end - -extend Helpers - -desc "Print version." -task :version do - puts version -end - -desc "Puts released versions on the site." -task :release => :compress do - require 'fileutils' - - fn = "site/jquery.transit-#{version}.js" - FileUtils.cp 'site/jquery.transit.js', fn - puts "==> #{fn}" - - fn = "site/jquery.transit-#{version}.min.js" - FileUtils.cp 'site/jquery.transit.min.js', fn - puts "==> #{fn}" -end - -task :check_deps do - die "Error: You need Rocco. Try `gem install fl-rocco`." unless can_run?('rocco') - begin - require 'proton' - rescue LoadError => e - die "Error: You need Proton. Try `gem install proton`." - end -end - -task :compress do - system "cp jquery.transit.js site/" - - puts "==> Compressing (site/jquery.transit.min.js)..." - str = File.read('jquery.transit.js') - str = Compressor.compress_with_comment(str) - File.open('site/jquery.transit.min.js', 'w') { |f| f.write str } -end - -# Prepare -task :prebuild => [:check_deps, :compress] do - puts "==> Generating annotated source..." - system "rocco jquery.transit.js > /dev/null" - system "mv ./jquery.transit.html site/source.html" - system "rm -rf docs" - - puts "==> Copying test files..." - system "rm -rf site/test" - system "cp -R test site/test" -end - -desc "Builds the website" -task :build => :prebuild do - puts "==> Building site..." - system "cd site && proton build" -end - -desc "Deploys the website" -task :deploy => :build do - system "git update-ghpages rstacruz/jquery.transit -i site/_output -b gh-pages" -end - -desc "Starts the preview site" -task :preview => [:check_deps] do - port = ENV['port'] || 4833 - exec "cd site && proton start -p #{port}" -end From 6249ed03e4846c5098c1017c12d416319fc460f6 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 12:04:37 +0800 Subject: [PATCH 32/46] Update notes. --- NOTES.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/NOTES.md b/NOTES.md index 0e9b1cb..6ed2547 100644 --- a/NOTES.md +++ b/NOTES.md @@ -12,9 +12,24 @@ Making a new release: npm publish # release to npm git release v1.0.0 # release to github/bower +Managing the site +----------------- + +Make `site/`: + + git clone git@github.com:rstacruz/jquery.transit.git -b gh-pages ./site + +Update: + + cd site + make update # update from files + make # update the site + make dist # make dist/ files (uh, should be deprecated) + v1.0.0 to do ------------ * .transitionStop() * use transitionend by default (#184) * Update bootstrap compatibility (#143, #67) + * Redesign the site From 8abe8c20e25643b450950693063ce656c66001ac Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 12:12:16 +0800 Subject: [PATCH 33/46] Update README with better instructions and support info. --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index af79f8a..3336672 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ examples. Usage ----- -Just include this script after jQuery. Requires jQuery 1.4+. +Just include [jquery.transit.js] after jQuery. Requires jQuery 1.4+. ``` html @@ -22,8 +22,10 @@ It is also available via [bower] and [npm]. $ bower install --save jquery.transit $ npm install --save jquery.transit +[![npm version](https://img.shields.io/npm/v/jquery.transit.png)](https://npmjs.org/package/jquery.transit "View this project on npm") [bower]: http://bower.io/search/?q=jquery.transit [npm]: http://npmjs.org/package/jquery.transit +[jquery.transit.js]: https://github.com/rstacruz/jquery.transit/blob/master/jquery.transit.js Transformations --------------- @@ -140,6 +142,16 @@ __[jQuery CSS3 rotate](http://plugins.jquery.com/project/Rotate)__ * Pros: simply provides rotation. * Cons: simply provides rotation. No transitions support. +Support +------- + + * __Bugs and requests__: submit them at the project's issues tracker.
+ https://github.com/rstacruz/jquery.transit/issues/ + * __Questions__: ask them at StackOverflow with the tag *jquery-transit*.
+ http://stackoverflow.com/questions/tagged/jquery-transit + * __Chat__: join us at gitter.im.
+ https://gitter.im/rstacruz/jquery.transit + Acknowledgements ---------------- From 8b887e65a4e06555dacecbc01c749a91194c6123 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 12:16:08 +0800 Subject: [PATCH 34/46] Badges. --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 3336672..cd04445 100644 --- a/README.md +++ b/README.md @@ -145,12 +145,12 @@ __[jQuery CSS3 rotate](http://plugins.jquery.com/project/Rotate)__ Support ------- - * __Bugs and requests__: submit them at the project's issues tracker.
- https://github.com/rstacruz/jquery.transit/issues/ - * __Questions__: ask them at StackOverflow with the tag *jquery-transit*.
- http://stackoverflow.com/questions/tagged/jquery-transit - * __Chat__: join us at gitter.im.
- https://gitter.im/rstacruz/jquery.transit + * __Bugs and requests__: submit them through the project's issues tracker. + [![Issues](http://img.shields.io/github/issues/rstacruz/jquery.transit.svg)]( https://github.com/rstacruz/jquery.transit/issues ) + * __Questions__: ask them at StackOverflow with the tag *jquery-transit*. + [![StackOverflow](http://img.shields.io/badge/stackoverflow-jquery--transit-brightgreen.svg)]( http://stackoverflow.com/questions/tagged/jquery-transit ) + * __Chat__: join us at gitter.im. + [![Chat](http://img.shields.io/badge/gitter.im-rstacruz/jquery.transit-brightgreen.svg)]( https://gitter.im/rstacruz/jquery.transit ) Acknowledgements ---------------- From bbee228fc94bb258c2ef6f6d283fd034f0403c96 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 12:30:14 +0800 Subject: [PATCH 35/46] Update badges for support. --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index cd04445..d43818b 100644 --- a/README.md +++ b/README.md @@ -145,12 +145,14 @@ __[jQuery CSS3 rotate](http://plugins.jquery.com/project/Rotate)__ Support ------- - * __Bugs and requests__: submit them through the project's issues tracker. - [![Issues](http://img.shields.io/github/issues/rstacruz/jquery.transit.svg)]( https://github.com/rstacruz/jquery.transit/issues ) - * __Questions__: ask them at StackOverflow with the tag *jquery-transit*. - [![StackOverflow](http://img.shields.io/badge/stackoverflow-jquery--transit-brightgreen.svg)]( http://stackoverflow.com/questions/tagged/jquery-transit ) - * __Chat__: join us at gitter.im. - [![Chat](http://img.shields.io/badge/gitter.im-rstacruz/jquery.transit-brightgreen.svg)]( https://gitter.im/rstacruz/jquery.transit ) +__Bugs and requests__: submit them through the project's issues tracker.
+[![Issues](http://img.shields.io/github/issues/rstacruz/jquery.transit.svg)]( https://github.com/rstacruz/jquery.transit/issues ) + +__Questions__: ask them at StackOverflow with the tag *jquery-transit*.
+[![StackOverflow](http://img.shields.io/badge/stackoverflow-jquery--transit-brightgreen.svg)]( http://stackoverflow.com/questions/tagged/jquery-transit ) + +__Chat__: join us at gitter.im.
+[![Chat](http://img.shields.io/badge/gitter.im-rstacruz/jquery.transit-brightgreen.svg)]( https://gitter.im/rstacruz/jquery.transit ) Acknowledgements ---------------- From 8e22cc1b6e1638f13ab4c95d1e6b7d718ef27d02 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 12:36:39 +0800 Subject: [PATCH 36/46] Update gitter badge. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d43818b..6aa077d 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ __Questions__: ask them at StackOverflow with the tag *jquery-transit*.
[![StackOverflow](http://img.shields.io/badge/stackoverflow-jquery--transit-brightgreen.svg)]( http://stackoverflow.com/questions/tagged/jquery-transit ) __Chat__: join us at gitter.im.
-[![Chat](http://img.shields.io/badge/gitter.im-rstacruz/jquery.transit-brightgreen.svg)]( https://gitter.im/rstacruz/jquery.transit ) +[![Chat](http://img.shields.io/badge/gitter-rstacruz_/_jquery.transit-brightgreen.svg)]( https://gitter.im/rstacruz/jquery.transit ) Acknowledgements ---------------- From 619edc90adc6454c7ac2aca1398089790818ae43 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 12:40:05 +0800 Subject: [PATCH 37/46] Update badge colors. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6aa077d..dd72493 100644 --- a/README.md +++ b/README.md @@ -149,10 +149,10 @@ __Bugs and requests__: submit them through the project's issues tracker.
[![Issues](http://img.shields.io/github/issues/rstacruz/jquery.transit.svg)]( https://github.com/rstacruz/jquery.transit/issues ) __Questions__: ask them at StackOverflow with the tag *jquery-transit*.
-[![StackOverflow](http://img.shields.io/badge/stackoverflow-jquery--transit-brightgreen.svg)]( http://stackoverflow.com/questions/tagged/jquery-transit ) +[![StackOverflow](http://img.shields.io/badge/stackoverflow-jquery--transit-blue.svg)]( http://stackoverflow.com/questions/tagged/jquery-transit ) __Chat__: join us at gitter.im.
-[![Chat](http://img.shields.io/badge/gitter-rstacruz_/_jquery.transit-brightgreen.svg)]( https://gitter.im/rstacruz/jquery.transit ) +[![Chat](http://img.shields.io/badge/gitter-rstacruz / jquery.transit-blue.svg)]( https://gitter.im/rstacruz/jquery.transit ) Acknowledgements ---------------- From 5da157973351446b266555c044691207bd27c0b8 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 12:41:16 +0800 Subject: [PATCH 38/46] Update colors again. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dd72493..1fe9381 100644 --- a/README.md +++ b/README.md @@ -149,10 +149,10 @@ __Bugs and requests__: submit them through the project's issues tracker.
[![Issues](http://img.shields.io/github/issues/rstacruz/jquery.transit.svg)]( https://github.com/rstacruz/jquery.transit/issues ) __Questions__: ask them at StackOverflow with the tag *jquery-transit*.
-[![StackOverflow](http://img.shields.io/badge/stackoverflow-jquery--transit-blue.svg)]( http://stackoverflow.com/questions/tagged/jquery-transit ) +[![StackOverflow](http://img.shields.io/badge/stackoverflow-jquery--transit-brightgreen.svg)]( http://stackoverflow.com/questions/tagged/jquery-transit ) __Chat__: join us at gitter.im.
-[![Chat](http://img.shields.io/badge/gitter-rstacruz / jquery.transit-blue.svg)]( https://gitter.im/rstacruz/jquery.transit ) +[![Chat](http://img.shields.io/badge/gitter-rstacruz / jquery.transit-brightgreen.svg)]( https://gitter.im/rstacruz/jquery.transit ) Acknowledgements ---------------- From f2ed81ed6dea82777dfa0cf3824eef4aa216a852 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 23 Jun 2014 13:16:50 +0800 Subject: [PATCH 39/46] Update readme grammar. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1fe9381..a41c315 100644 --- a/README.md +++ b/README.md @@ -157,11 +157,11 @@ __Chat__: join us at gitter.im.
Acknowledgements ---------------- -© 2011, 2014, Rico Sta. Cruz. Released under the [MIT +**jQuery Transit** © 2011, 2014, Rico Sta. Cruz. Released under the [MIT License](http://www.opensource.org/licenses/mit-license.php). -jQuery Transit is authored and maintained by [Rico Sta. Cruz][rsc] with help -from it's [contributors][c]. +Authored and maintained by [Rico Sta. Cruz][rsc] with help from +[contributors][c]. * [My website](http://ricostacruz.com) (ricostacruz.com) * [Github](http://github.com/rstacruz) (@rstacruz) From e3bf1537089d47bb28762c167a5f0967138c7bec Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Wed, 25 Jun 2014 12:00:06 +0800 Subject: [PATCH 40/46] Update readme footer. --- README.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index a41c315..519d661 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,6 @@ It is also available via [bower] and [npm]. $ bower install --save jquery.transit $ npm install --save jquery.transit -[![npm version](https://img.shields.io/npm/v/jquery.transit.png)](https://npmjs.org/package/jquery.transit "View this project on npm") [bower]: http://bower.io/search/?q=jquery.transit [npm]: http://npmjs.org/package/jquery.transit [jquery.transit.js]: https://github.com/rstacruz/jquery.transit/blob/master/jquery.transit.js @@ -154,18 +153,17 @@ __Questions__: ask them at StackOverflow with the tag *jquery-transit*.
__Chat__: join us at gitter.im.
[![Chat](http://img.shields.io/badge/gitter-rstacruz / jquery.transit-brightgreen.svg)]( https://gitter.im/rstacruz/jquery.transit ) -Acknowledgements ----------------- +Thanks +------ -**jQuery Transit** © 2011, 2014, Rico Sta. Cruz. Released under the [MIT -License](http://www.opensource.org/licenses/mit-license.php). +**jQuery Transit** © 2011-2014+, Rico Sta. Cruz. Released under the [MIT License].
+Authored and maintained by Rico Sta. Cruz with help from [contributors]. -Authored and maintained by [Rico Sta. Cruz][rsc] with help from -[contributors][c]. +> [ricostacruz.com](http://ricostacruz.com)  ·  +> GitHub [@rstacruz](https://github.com/rstacruz)  ·  +> Twitter [@rstacruz](https://twitter.com/rstacruz) - * [My website](http://ricostacruz.com) (ricostacruz.com) - * [Github](http://github.com/rstacruz) (@rstacruz) - * [Twitter](http://twitter.com/rstacruz) (@rstacruz) +[MIT License]: http://mit-license.org/ +[contributors]: http://github.com/rstacruz/jquery.transit/contributors -[rsc]: http://ricostacruz.com -[c]: http://github.com/rstacruz/jquery.transit/contributors +[![npm version](https://img.shields.io/npm/v/jquery.transit.png)](https://npmjs.org/package/jquery.transit "View this project on npm") From 80ca5c3e4419a4f5cd017c819a35220eb89828a1 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Fri, 4 Jul 2014 18:07:18 +0800 Subject: [PATCH 41/46] Update HISTORY.md --- HISTORY.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 2adfdee..33fb0bb 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,7 @@ +## v0.9.12 - unreleased + + * Fix browserify builds by using the correct jQuery. (@dminkovsky, #201) + ## v0.9.11 - June 23, 2014 * Add support for `scaleX` and `scaleY`. (@YousefED, #192) From 212dd4f39370b2a853c6af745f9681491a43b1b5 Mon Sep 17 00:00:00 2001 From: David Langer Date: Wed, 16 Jul 2014 23:36:56 +0200 Subject: [PATCH 42/46] fix modification of original property object --- jquery.transit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.transit.js b/jquery.transit.js index d2e554e..5b2251f 100644 --- a/jquery.transit.js +++ b/jquery.transit.js @@ -659,7 +659,7 @@ if (i > 0) { this.style[support.transition] = transitionValue; } - $(this).css(properties); + $(this).css(theseProperties); }); }; From 9afd9e4869b0f61ddd9a00a8ccc96153954b1b37 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Thu, 17 Jul 2014 07:39:51 +0800 Subject: [PATCH 43/46] Release v0.9.12 --- HISTORY.md | 3 ++- NOTES.md | 1 + bower.json | 2 +- component.json | 2 +- jquery.transit.js | 2 +- package.json | 2 +- 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 33fb0bb..736ef93 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,6 +1,7 @@ -## v0.9.12 - unreleased +## v0.9.12 - July 17, 2014 * Fix browserify builds by using the correct jQuery. (@dminkovsky, #201) + * Fix properties resetting after a transition. (#204, #205) ## v0.9.11 - June 23, 2014 diff --git a/NOTES.md b/NOTES.md index 6ed2547..afd8ab9 100644 --- a/NOTES.md +++ b/NOTES.md @@ -11,6 +11,7 @@ Making a new release: bump *.json *.js # update version number npm publish # release to npm git release v1.0.0 # release to github/bower + cd site && make # update the site Managing the site ----------------- diff --git a/bower.json b/bower.json index d5f429f..eee1c52 100644 --- a/bower.json +++ b/bower.json @@ -2,7 +2,7 @@ "name": "jquery.transit", "repo": "rstacruz/jquery.transit", "description": "Smooth CSS3 transitions and transformations for jQuery.", - "version": "0.9.11", + "version": "0.9.12", "keywords": [ "css3", "animation", diff --git a/component.json b/component.json index bf8630d..d77d822 100644 --- a/component.json +++ b/component.json @@ -2,7 +2,7 @@ "name": "jquery.transit", "repo": "rstacruz/jquery.transit", "description": "Smooth CSS3 transitions and transformations for jQuery.", - "version": "0.9.11", + "version": "0.9.12", "keywords": [ "css3", "animation", diff --git a/jquery.transit.js b/jquery.transit.js index 5b2251f..67e05e4 100644 --- a/jquery.transit.js +++ b/jquery.transit.js @@ -22,7 +22,7 @@ }(this, function($) { $.transit = { - version: "0.9.11", + version: "0.9.12", // Map of $.css() keys to values for 'transitionProperty'. // See https://developer.mozilla.org/en/CSS/CSS_transitions#Properties_that_can_be_animated diff --git a/package.json b/package.json index d17f664..78336e7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jquery.transit", - "version": "0.9.11", + "version": "0.9.12", "description": "Smooth CSS3 transitions and transformations for jQuery.", "main": "jquery.transit.js", "directories": { From aa1931ad94b5031b86f52b2d0ff40ce2b42d7349 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Sun, 5 Apr 2015 18:57:57 +0800 Subject: [PATCH 44/46] Annotate HISTORY links --- HISTORY.md | 122 ++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 93 insertions(+), 29 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 736ef93..9b22370 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,22 +1,22 @@ ## v0.9.12 - July 17, 2014 - * Fix browserify builds by using the correct jQuery. (@dminkovsky, #201) - * Fix properties resetting after a transition. (#204, #205) + * Fix browserify builds by using the correct jQuery. ([@dminkovsky], [#201]) + * Fix properties resetting after a transition. ([#204], [#205]) ## v0.9.11 - June 23, 2014 - * Add support for `scaleX` and `scaleY`. (@YousefED, #192) + * Add support for `scaleX` and `scaleY`. ([@YousefED], [#192]) * Add support for npm. * Add support for RequireJS and CommonJS. - * Fix transitionend support for IE10, Chrome, and many others. (@wambotron, #103) + * Fix transitionend support for IE10, Chrome, and many others. ([@wambotron], [#103]) Also: - * 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) - * Add test cases for jQuery 2.0+. (@hankhero, #155) + * 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]) + * Add test cases for jQuery 2.0+. ([@hankhero], [#155]) The version `0.9.10` was not officially released as it was published prematurely to npm. @@ -29,30 +29,30 @@ is a pre-release of 1.0. ### Fixes and additions: * Fix support for jQuery 1.8, IE 10, Firefox 16, Android Jellybean. - (#48, #62, #63, #69, #70, #71, #72, #76, #77, #80, #81, #82, #85, #86, #90, #92, #93) - * Compatibility with Twitter Bootstrap has been fixed. (#67) + ([#48], [#62], [#63], [#69], [#70], [#71], [#72], [#76], [#77], [#80], [#81], [#82], [#85], [#86], [#90], [#92], [#93]) + * Compatibility with Twitter Bootstrap has been fixed. ([#67]) * Unprefixed CSS properties are now used if your browser supports them. - * Account for prefix-free transition end for Mozilla. (#97) - * Callbacks should now be called even if duration is `0`. (#37) - * Doing `.css('transition', 'transform 1s')` should now properly vendor-prefix 'transform'. (#84) - * Added Penner easing splines. (#44) + * Account for prefix-free transition end for Mozilla. ([#97]) + * Callbacks should now be called even if duration is `0`. ([#37]) + * Doing `.css('transition', 'transform 1s')` should now properly vendor-prefix 'transform'. ([#84]) + * Added Penner easing splines. ([#44]) ### Internal fixes: * New test suite. - * In building the website, use `fl-rocco` instead of `docco`. This removes the dependency. (#50) + * In building the website, use `fl-rocco` instead of `docco`. This removes the dependency. ([#50]) ## v0.1.3 - Feb 14, 2012 ### Fixed: - * Fix JS error with undefined `next` function. (#21) - * Using `delay: 0` now works. Closes (#20) - * More robust checking of 3D transition support. (#19) + * Fix JS error with undefined `next` function. ([#21]) + * Using `delay: 0` now works. Closes ([#20]) + * More robust checking of 3D transition support. ([#19]) * Stop rotateX/rotateY/etc from stopping other transitions when it's not - supported. (#15) + supported. ([#15]) ### Added: - * Support Firefox 10 3D transitions. (#19) + * Support Firefox 10 3D transitions. ([#19]) ### Changed: * Allow disabling using the transitionEnd property. @@ -62,20 +62,20 @@ is a pre-release of 1.0. ## v0.1.2 - Jan 24, 2012 -Thanks to code contributors @ppcano, @jeduan, @steckel, @weotch, and everyone +Thanks to code contributors [@ppcano], [@jeduan], [@steckel], [@weotch], and everyone who reported issues. ### Fixed: - * IE8 error about .indexOf. (#12, #8) - * Fix z-layer scaling in Safari. (#9, #10) - * Fix scale elements being unclickable in WebKits. (#9, #10) - * Fix support for `queue: false`. (#13) - * Clean up transitions when done. (#14) - * Fix disappearing scaled elements in Chrome. (#11) + * IE8 error about .indexOf. ([#12], [#8]) + * Fix z-layer scaling in Safari. ([#9], [#10]) + * Fix scale elements being unclickable in WebKits. ([#9], [#10]) + * Fix support for `queue: false`. ([#13]) + * Clean up transitions when done. ([#14]) + * Fix disappearing scaled elements in Chrome. ([#11]) * Fix a bug where the default duration and easing can sometimes not be used. ### Changed: - * Make code compatible with jsHint. (#6) + * Make code compatible with jsHint. ([#6]) ## v0.1.1 - Nov 18, 2011 @@ -87,3 +87,67 @@ who reported issues. Initial official release. [contributors]: https://github.com/rstacruz/jquery.transit/contributors + +[#201]: https://github.com/rstarcuz/jquery.transit/issues/201 +[@dminkovsky]: https://github.com/dminkovsky + +[#204]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/204 +[#205]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/205 +[#192]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/192 +[#103]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/103 +[#192]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/192 +[#165]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/165 +[#175]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/175 +[#161]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/161 +[#142]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/142 +[#155]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/155 +[#48]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/48 +[#62]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/62 +[#63]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/63 +[#69]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/69 +[#70]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/70 +[#71]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/71 +[#72]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/72 +[#76]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/76 +[#77]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/77 +[#80]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/80 +[#81]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/81 +[#82]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/82 +[#85]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/85 +[#86]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/86 +[#90]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/90 +[#92]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/92 +[#93]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/93 +[#67]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/67 +[#97]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/97 +[#37]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/37 +[#84]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/84 +[#44]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/44 +[#50]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/50 +[#21]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/21 +[#20]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/20 +[#19]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/19 +[#15]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/15 +[#19]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/19 +[#12]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/12 +[#8]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/8 +[#9]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/9 +[#10]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/10 +[#9]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/9 +[#10]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/10 +[#13]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/13 +[#14]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/14 +[#11]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/11 +[#6]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/6 +[@YousefED]: https://github.com/YousefED +[@wambotron]: https://github.com/wambotron +[@YousefED]: https://github.com/YousefED +[@Bongo]: https://github.com/Bongo +[@francismakes]: https://github.com/francismakes +[@emagnier]: https://github.com/emagnier +[@willblackmore]: https://github.com/willblackmore +[@hankhero]: https://github.com/hankhero +[@ppcano]: https://github.com/ppcano +[@jeduan]: https://github.com/jeduan +[@steckel]: https://github.com/steckel +[@weotch]: https://github.com/weotch \ No newline at end of file From cd381e55dd3b1c049821679c8bb75f130bf99743 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 6 Apr 2015 14:50:24 +0800 Subject: [PATCH 45/46] History: fix links --- HISTORY.md | 98 +++++++++++++++++++++++++++--------------------------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 9b22370..c1abd48 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -91,54 +91,54 @@ Initial official release. [#201]: https://github.com/rstarcuz/jquery.transit/issues/201 [@dminkovsky]: https://github.com/dminkovsky -[#204]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/204 -[#205]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/205 -[#192]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/192 -[#103]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/103 -[#192]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/192 -[#165]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/165 -[#175]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/175 -[#161]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/161 -[#142]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/142 -[#155]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/155 -[#48]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/48 -[#62]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/62 -[#63]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/63 -[#69]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/69 -[#70]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/70 -[#71]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/71 -[#72]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/72 -[#76]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/76 -[#77]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/77 -[#80]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/80 -[#81]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/81 -[#82]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/82 -[#85]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/85 -[#86]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/86 -[#90]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/90 -[#92]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/92 -[#93]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/93 -[#67]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/67 -[#97]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/97 -[#37]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/37 -[#84]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/84 -[#44]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/44 -[#50]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/50 -[#21]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/21 -[#20]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/20 -[#19]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/19 -[#15]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/15 -[#19]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/19 -[#12]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/12 -[#8]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/8 -[#9]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/9 -[#10]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/10 -[#9]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/9 -[#10]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/10 -[#13]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/13 -[#14]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/14 -[#11]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/11 -[#6]: https://github.com/git@github.com:rstacruz/jquery.transit/issues/6 +[#204]: https://github.com/rstacruz/jquery.transit/issues/204 +[#205]: https://github.com/rstacruz/jquery.transit/issues/205 +[#192]: https://github.com/rstacruz/jquery.transit/issues/192 +[#103]: https://github.com/rstacruz/jquery.transit/issues/103 +[#192]: https://github.com/rstacruz/jquery.transit/issues/192 +[#165]: https://github.com/rstacruz/jquery.transit/issues/165 +[#175]: https://github.com/rstacruz/jquery.transit/issues/175 +[#161]: https://github.com/rstacruz/jquery.transit/issues/161 +[#142]: https://github.com/rstacruz/jquery.transit/issues/142 +[#155]: https://github.com/rstacruz/jquery.transit/issues/155 +[#48]: https://github.com/rstacruz/jquery.transit/issues/48 +[#62]: https://github.com/rstacruz/jquery.transit/issues/62 +[#63]: https://github.com/rstacruz/jquery.transit/issues/63 +[#69]: https://github.com/rstacruz/jquery.transit/issues/69 +[#70]: https://github.com/rstacruz/jquery.transit/issues/70 +[#71]: https://github.com/rstacruz/jquery.transit/issues/71 +[#72]: https://github.com/rstacruz/jquery.transit/issues/72 +[#76]: https://github.com/rstacruz/jquery.transit/issues/76 +[#77]: https://github.com/rstacruz/jquery.transit/issues/77 +[#80]: https://github.com/rstacruz/jquery.transit/issues/80 +[#81]: https://github.com/rstacruz/jquery.transit/issues/81 +[#82]: https://github.com/rstacruz/jquery.transit/issues/82 +[#85]: https://github.com/rstacruz/jquery.transit/issues/85 +[#86]: https://github.com/rstacruz/jquery.transit/issues/86 +[#90]: https://github.com/rstacruz/jquery.transit/issues/90 +[#92]: https://github.com/rstacruz/jquery.transit/issues/92 +[#93]: https://github.com/rstacruz/jquery.transit/issues/93 +[#67]: https://github.com/rstacruz/jquery.transit/issues/67 +[#97]: https://github.com/rstacruz/jquery.transit/issues/97 +[#37]: https://github.com/rstacruz/jquery.transit/issues/37 +[#84]: https://github.com/rstacruz/jquery.transit/issues/84 +[#44]: https://github.com/rstacruz/jquery.transit/issues/44 +[#50]: https://github.com/rstacruz/jquery.transit/issues/50 +[#21]: https://github.com/rstacruz/jquery.transit/issues/21 +[#20]: https://github.com/rstacruz/jquery.transit/issues/20 +[#19]: https://github.com/rstacruz/jquery.transit/issues/19 +[#15]: https://github.com/rstacruz/jquery.transit/issues/15 +[#19]: https://github.com/rstacruz/jquery.transit/issues/19 +[#12]: https://github.com/rstacruz/jquery.transit/issues/12 +[#8]: https://github.com/rstacruz/jquery.transit/issues/8 +[#9]: https://github.com/rstacruz/jquery.transit/issues/9 +[#10]: https://github.com/rstacruz/jquery.transit/issues/10 +[#9]: https://github.com/rstacruz/jquery.transit/issues/9 +[#10]: https://github.com/rstacruz/jquery.transit/issues/10 +[#13]: https://github.com/rstacruz/jquery.transit/issues/13 +[#14]: https://github.com/rstacruz/jquery.transit/issues/14 +[#11]: https://github.com/rstacruz/jquery.transit/issues/11 +[#6]: https://github.com/rstacruz/jquery.transit/issues/6 [@YousefED]: https://github.com/YousefED [@wambotron]: https://github.com/wambotron [@YousefED]: https://github.com/YousefED @@ -150,4 +150,4 @@ Initial official release. [@ppcano]: https://github.com/ppcano [@jeduan]: https://github.com/jeduan [@steckel]: https://github.com/steckel -[@weotch]: https://github.com/weotch \ No newline at end of file +[@weotch]: https://github.com/weotch From 324b758a0f1ded11388eb43ab01b03b007dc22fc Mon Sep 17 00:00:00 2001 From: Denis Darkin Date: Thu, 28 May 2015 08:12:59 +1000 Subject: [PATCH 46/46] Minified versions of jquery.transit can be prone to having this.offsetWidth line removed from deferredRun function during optimization stage. This leads to a severe bug of transitions not showing in minified versions. Fixed by adding lhs to this.offsetWidth expression. --- jquery.transit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jquery.transit.js b/jquery.transit.js index 67e05e4..a2b47b8 100644 --- a/jquery.transit.js +++ b/jquery.transit.js @@ -666,7 +666,7 @@ // Defer running. This allows the browser to paint any pending CSS it hasn't // painted yet before doing the transitions. var deferredRun = function(next) { - this.offsetWidth; // force a repaint + this.offsetWidth = this.offsetWidth; // force a repaint run(next); };