]> source.dussan.org Git - jquery.git/log
jquery.git
9 years agoBuild: Don't assume the browser environment; smoke test on Node w/ jsdom
Michał Gołębiowski [Thu, 11 Sep 2014 20:18:34 +0000 (15:18 -0500)]
Build: Don't assume the browser environment; smoke test on Node w/ jsdom

Fixes gh-1950
Closes gh-1949

9 years agoDeferred: Fix $.when with resolved deferred and progress callbacks
Nicolas HENRY [Tue, 9 Dec 2014 12:57:15 +0000 (12:57 +0000)]
Deferred: Fix $.when with resolved deferred and progress callbacks

Fixes gh-1894
Closes gh-1915

9 years agoAjax: simplify jQuery.parseXML method
Shivaji Varma [Wed, 12 Nov 2014 10:29:41 +0000 (15:59 +0530)]
Ajax: simplify jQuery.parseXML method

-2 bytes to the gzipped size and code looks a bit nicer

This wasn't landed to the compat branch though, since size would increase
with this cherry-pick

Closes gh-1856

9 years agoOffset: don't run scrollTop/scrollLeft iframe test in mobile Safari
Oleg Gaidarenko [Thu, 25 Dec 2014 01:49:56 +0000 (04:49 +0300)]
Offset: don't run scrollTop/scrollLeft iframe test in mobile Safari

iPhone resize the iframe by its content regardless of the width, height values,
meaning it's not possible to scroll the iframe only its parent element

Ref 62a333e0646d3011377ed13a6fcfbb08e91e2bef

9 years agoCSS: simplify "defaultDisplay" module
Oleg Gaidarenko [Sun, 21 Dec 2014 20:21:27 +0000 (23:21 +0300)]
CSS: simplify "defaultDisplay" module

Closes gh-1962

9 years agoManipulation: make wrapAll funarg execute only once
Oleg Gaidarenko [Mon, 8 Dec 2014 07:32:57 +0000 (10:32 +0300)]
Manipulation: make wrapAll funarg execute only once

Fixes gh-1843
Closes gh-1912

9 years agoData: shave off a couple of bytes
Mike Sidorov [Mon, 15 Dec 2014 08:06:09 +0000 (13:06 +0500)]
Data: shave off a couple of bytes

Closes gh-1931

9 years agoData: speed up $.fn.data() for camel-cased key
Victor Homyakov [Thu, 18 Dec 2014 19:51:44 +0000 (22:51 +0300)]
Data: speed up $.fn.data() for camel-cased key

Fixes gh-1941
Closes gh-1952

9 years agoCSS: Add unit tests for negative margins and positioning
Aditya Raghavan [Sat, 20 Dec 2014 09:08:44 +0000 (04:08 -0500)]
CSS: Add unit tests for negative margins and positioning

Closes gh-1957

9 years agoEvent: fix incorrect window bug with scrollTop/Left in iframes
Aditya Raghavan [Sun, 21 Dec 2014 02:52:17 +0000 (21:52 -0500)]
Event: fix incorrect window bug with scrollTop/Left in iframes

Fixes gh-1945
Closes gh-1959

9 years agoBuild: Sizzle version labels must start with a dash
Timmy Willison [Wed, 17 Dec 2014 16:17:41 +0000 (11:17 -0500)]
Build: Sizzle version labels must start with a dash

9 years agoBuild: update node dependencies
Timmy Willison [Wed, 17 Dec 2014 15:42:23 +0000 (10:42 -0500)]
Build: update node dependencies

9 years agoBuild: account for version labels in Sizzle versions
Timmy Willison [Wed, 17 Dec 2014 15:35:59 +0000 (10:35 -0500)]
Build: account for version labels in Sizzle versions

Fixes gh-1939

9 years agoAuthors: Update AUTHORS.TXT and .mailmap
Dave Methvin [Wed, 17 Dec 2014 01:36:46 +0000 (20:36 -0500)]
Authors: Update AUTHORS.TXT and .mailmap

9 years agoSizzle: update to 2.1.1
Timmy Willison [Mon, 15 Dec 2014 17:30:43 +0000 (12:30 -0500)]
Sizzle: update to 2.1.1

9 years agoREADME: various text fixes
Oleg Gaidarenko [Mon, 15 Dec 2014 00:48:53 +0000 (19:48 -0500)]
README: various text fixes

Thank you @essamjoubori, @bcbcb, @namlede

Closes gh-1926
Closes gh-1927
Closes gh-1928

9 years agoSupport: Correct iOS 8 support test results, re-arrange entries
Michał Gołębiowski [Sat, 13 Dec 2014 20:41:04 +0000 (21:41 +0100)]
Support: Correct iOS 8 support test results, re-arrange entries

9 years agoAjax: use anchor tag for parsing urls
Ben Toews [Sun, 23 Nov 2014 01:29:13 +0000 (18:29 -0700)]
Ajax: use anchor tag for parsing urls

Fixes gh-1875
Closes gh-1880

9 years agoCore: re-introduce createHTMLDocument in parseHTML; Safari 8 left out
Timmy Willison [Wed, 10 Dec 2014 14:48:55 +0000 (09:48 -0500)]
Core: re-introduce createHTMLDocument in parseHTML; Safari 8 left out

Close gh-1505

9 years agoEvent: Empty namespaces should be uneventfully ignored
Dave Methvin [Wed, 10 Dec 2014 00:59:56 +0000 (19:59 -0500)]
Event: Empty namespaces should be uneventfully ignored

Thanks @hamishdickson for the report!

Closes gh-1769

9 years agoCore: revert addition of createHTMLDocument. Thanks, Safari 8.
Timmy Willison [Tue, 9 Dec 2014 23:00:06 +0000 (18:00 -0500)]
Core: revert addition of createHTMLDocument. Thanks, Safari 8.

- Safari 8 has issues when the HTML string contains forms.
  Closing tags are not respected.

9 years agoCss: Remove non-functional unit test for negative margin
Dave Methvin [Tue, 9 Dec 2014 21:30:22 +0000 (16:30 -0500)]
Css: Remove non-functional unit test for negative margin

Thanks @MatthewMueller

Closes gh-1474
Ref gh-1918

9 years agoCore: pass empty string to createHTMLDocument to appease IE
Timmy Willison [Tue, 9 Dec 2014 21:37:30 +0000 (16:37 -0500)]
Core: pass empty string to createHTMLDocument to appease IE

9 years agoCore: remove unnecessary support test for createHTMLDocument
Timmy Willison [Tue, 9 Dec 2014 20:57:12 +0000 (15:57 -0500)]
Core: remove unnecessary support test for createHTMLDocument

9 years agoBuild: fix tests in AMD mode
Timmy Willison [Tue, 9 Dec 2014 20:39:24 +0000 (15:39 -0500)]
Build: fix tests in AMD mode

9 years agoCore: use document.implemenation.createHTMLDocument in jQuery.parseHTML
Frederic Hemberger [Tue, 9 Dec 2014 20:13:46 +0000 (15:13 -0500)]
Core: use document.implemenation.createHTMLDocument in jQuery.parseHTML

Close gh-1505

9 years agoSupport: Re-organize browser order, add Safari 8
Michał Gołębiowski [Tue, 9 Dec 2014 20:05:31 +0000 (21:05 +0100)]
Support: Re-organize browser order, add Safari 8

Most browsers were put in order newest to oldest, Android was
treated differently; this has been fixed.

Also, browsers that share test results between different versions were
grouped together.

9 years agoCore: Simplify and speed up .each
Daniel Husar [Fri, 7 Feb 2014 10:30:13 +0000 (10:30 +0000)]
Core: Simplify and speed up .each

Closes gh-1510

9 years agoAttributes: Use the option val hook in select val hook and simplify it 1901/head
Michał Gołębiowski [Thu, 4 Dec 2014 13:43:35 +0000 (14:43 +0100)]
Attributes: Use the option val hook in select val hook and simplify it

The hook is still defined; not using it could cause issues in IE<11.
Also, IE10 no longer throws when value not set but it still doesn't trim the
value. IE11 has all those issues fixed; support comments are updated.

Fixes gh-1902
Closes gh-1901

9 years agoManipulation: improve test for data-URI
Oleg Gaidarenko [Sun, 7 Dec 2014 10:01:16 +0000 (13:01 +0300)]
Manipulation: improve test for data-URI

Some environments do not support data-uri in "src" attribute of script element.
Mitigate it with equality assertion

Ref a467f8653a6fab2903148df80ab0ce9f5f4fd04f

9 years agoEvent: Fully clean up events in unit test
Veaceslav Grimalschi [Wed, 8 Oct 2014 11:24:55 +0000 (15:24 +0400)]
Event: Fully clean up events in unit test

Closes gh-1685

9 years agoCallbacks: Disabling a callback should prevent firing
Dave Methvin [Mon, 8 Dec 2014 01:51:04 +0000 (20:51 -0500)]
Callbacks: Disabling a callback should prevent firing

Thanks to @TheDistantSea for the report!

Fixes gh-1790
Closes gh-1643

9 years agoTests: Tilt at a few style guide windmills
Richard Gibson [Sat, 6 Dec 2014 18:30:31 +0000 (13:30 -0500)]
Tests: Tilt at a few style guide windmills

Ref 3c13f4c6297566a71102c2362347987f6d6a636e

9 years agoTests: Accommodate page changes from the QUnit HTML reporter
Richard Gibson [Sat, 6 Dec 2014 18:23:40 +0000 (13:23 -0500)]
Tests: Accommodate page changes from the QUnit HTML reporter

Ref 6748ba349650353c7bed6eec201a3192f6b2cae1

9 years agoTests: Minor updates for QUnit 1.16 compatibility
Richard Gibson [Fri, 5 Dec 2014 17:28:40 +0000 (12:28 -0500)]
Tests: Minor updates for QUnit 1.16 compatibility

More to come later.

(cherry picked from commit f6f8848fbe477fa93fd27ac7f10885dd6e97f633)

9 years agoTests: Update QUnit
Richard Gibson [Fri, 5 Dec 2014 14:49:02 +0000 (09:49 -0500)]
Tests: Update QUnit

9 years agoBuild: Remove empty define({}) from build output
David Corbacho [Thu, 1 May 2014 10:21:34 +0000 (13:21 +0300)]
Build: Remove empty define({}) from build output

Fixes gh-1768
Closes gh-1569

9 years agoCONTRIBUTING: Condense info and add directions to other resources
Dave Methvin [Thu, 4 Dec 2014 00:07:48 +0000 (19:07 -0500)]
CONTRIBUTING: Condense info and add directions to other resources

Fixes gh-1824

9 years agoEvent: Copy detail property to jQuery.Event on native events
Dave Methvin [Wed, 3 Dec 2014 20:56:50 +0000 (15:56 -0500)]
Event: Copy detail property to jQuery.Event on native events

Fixes gh-1867

9 years agoCore: Throw an error on $("#") rather than returning 0-length collection
Dave Methvin [Wed, 3 Dec 2014 19:51:24 +0000 (14:51 -0500)]
Core: Throw an error on $("#") rather than returning 0-length collection

Closes gh-1682

Thanks @goob for the issue report!

9 years agoREADME: Add selector-native.js link. Thanks @randsonjs!
Dave Methvin [Wed, 3 Dec 2014 18:57:58 +0000 (13:57 -0500)]
README: Add selector-native.js link. Thanks @randsonjs!

Closes gh-1715

9 years agoManipulation: support data-URI scripts insertion
Bin Xin [Fri, 28 Nov 2014 06:09:29 +0000 (14:09 +0800)]
Manipulation: support data-URI scripts insertion

Fixes gh-1887
Closes gh-1888

9 years agoCSS: Clean up memory leak in reliableMarginRight
Dave Methvin [Mon, 1 Dec 2014 22:35:51 +0000 (17:35 -0500)]
CSS: Clean up memory leak in reliableMarginRight

Fixes gh-1795
Closes gh-1893

Thanks for the report flexphperia!

10 years agoDimensions: allow modification of coordinates argument
Oleg Gaidarenko [Tue, 11 Nov 2014 13:27:44 +0000 (16:27 +0300)]
Dimensions: allow modification of coordinates argument

Fixes gh-1848
Closes gh-1853

10 years agoDocs: correct grunt command in README.md
Oleg Gaidarenko [Mon, 10 Nov 2014 10:20:06 +0000 (13:20 +0300)]
Docs: correct grunt command in README.md

Fixes gh-1850

10 years agoBuild: Fix various typos
Oleg Gaidarenko [Fri, 7 Nov 2014 06:30:18 +0000 (12:30 +0600)]
Build: Fix various typos

Thanks @jamesgpearce, @vlajos, @imyousuf
Closes gh-1828
Closes gh-1830
Closes gh-1844

10 years agoManipulation: Check state lost if the name is set for Android 4.0-4.3
Michał Gołębiowski [Wed, 5 Nov 2014 17:14:56 +0000 (18:14 +0100)]
Manipulation: Check state lost if the name is set for Android 4.0-4.3

Refs gh-1820
Closes gh-1841

10 years agoMisc: Adjust comments & docs to dropping IE<8 in jQuery Compat
Michał Gołębiowski [Tue, 4 Nov 2014 15:16:36 +0000 (16:16 +0100)]
Misc: Adjust comments & docs to dropping IE<8 in jQuery Compat

10 years agoMisc: Remove leftover -moz-box-sizing in tests
Michał Gołębiowski [Mon, 3 Nov 2014 19:03:03 +0000 (20:03 +0100)]
Misc: Remove leftover -moz-box-sizing in tests

10 years agoMisc: Drop support for older browsers; update support comments
Michał Gołębiowski [Mon, 27 Oct 2014 17:36:07 +0000 (18:36 +0100)]
Misc: Drop support for older browsers; update support comments

That includes Opera 12.x, Firefox<29, Safari<6.0 and some hacks
for old Blackberry.

Closes gh-1820
Refs gh-1815

10 years agoDocs: 1.x-master branch -> compat branch; 2.x branch -> master branch
Timmy Willison [Mon, 3 Nov 2014 17:34:45 +0000 (12:34 -0500)]
Docs: 1.x-master branch -> compat branch; 2.x branch -> master branch

10 years agoBuild: update version to 3.0.0-pre
Timmy Willison [Mon, 3 Nov 2014 17:29:16 +0000 (12:29 -0500)]
Build: update version to 3.0.0-pre

10 years agoAjax: Fix for request aborted in ajaxSend
Dan Hart [Sun, 13 Jul 2014 17:53:00 +0000 (18:53 +0100)]
Ajax: Fix for request aborted in ajaxSend

Fixes gh-1775
Close gh-1619

10 years agoChange broken url to wayback one
Arthur Verschaeve [Sat, 25 Oct 2014 07:42:19 +0000 (09:42 +0200)]
Change broken url to wayback one

10 years agoREADME: Update the description of the deprecated module
Michał Gołębiowski [Thu, 30 Oct 2014 13:16:32 +0000 (14:16 +0100)]
README: Update the description of the deprecated module

.andSelf is now gone.

10 years agoDeprecated: Drop size and andSelf methods 1822/head
Michał Gołębiowski [Thu, 30 Oct 2014 00:18:42 +0000 (01:18 +0100)]
Deprecated: Drop size and andSelf methods

Fixes gh-1749
Closes gh-1822

10 years agoBuild: Upgrade to commitplease 2.0.0
Jörn Zaefferer [Wed, 22 Oct 2014 15:57:23 +0000 (17:57 +0200)]
Build: Upgrade to commitplease 2.0.0

commitplease now accepts "[tmp]:" and similar to temporary commits,
useful while updating pull requests that are squashed later.

10 years agoMisc: Update all references to bugs.jquery.com
Arthur Verschaeve [Fri, 17 Oct 2014 05:01:37 +0000 (07:01 +0200)]
Misc: Update all references to bugs.jquery.com

Fixes gh-1681
Closes gh-1716

10 years agoMisc: Need for speed removed by 9ad6e7e
Dave Methvin [Sun, 19 Oct 2014 19:16:13 +0000 (15:16 -0400)]
Misc: Need for speed removed by 9ad6e7e

10 years agoAjax: remove event dependency from the ajax module 1697/head
Oleg Gaidarenko [Fri, 10 Oct 2014 17:01:59 +0000 (21:01 +0400)]
Ajax: remove event dependency from the ajax module

Closes gh-1695

10 years agoReadme: Fix minor style issues. Thanks @MightyBranch!
Dave Methvin [Mon, 6 Oct 2014 13:25:27 +0000 (09:25 -0400)]
Readme: Fix minor style issues. Thanks @MightyBranch!

10 years agoREADME: Improve build instructions
Oleg Gaidarenko [Tue, 23 Sep 2014 22:03:04 +0000 (15:03 -0700)]
README: Improve build instructions

Thanks @NickStefan

Closes gh-1663

10 years agoData: avoid non-alphanumeric chars in expando properties
Jason Bedard [Tue, 23 Sep 2014 03:05:59 +0000 (20:05 -0700)]
Data: avoid non-alphanumeric chars in expando properties

Ref chromium issue 378607
Ref #14839
Closes gh-1662

10 years agoEvent: Restore the `constructor` property on jQuery.Event prototype
Daniel Herman [Thu, 15 May 2014 16:26:20 +0000 (12:26 -0400)]
Event: Restore the `constructor` property on jQuery.Event prototype

The original definition of the jQuery.Event prototype was paving over the
`constructor` property which was causing jQuery.isPlainObject to
improperly report that an instance of jQuery.Event was a plain object.

Fixes #15090
Closes gh-1580

10 years agoManipulation: Tolerate XMLNode host object input to getAll
Richard Gibson [Tue, 17 Jun 2014 13:48:17 +0000 (09:48 -0400)]
Manipulation: Tolerate XMLNode host object input to getAll

Fixes #15151
Ref 25712d77c3bc0221b5b2b9b9492c20a9cfbe1b17
Closes gh-1602

10 years agoCONTRIBUTING: Close parenthesis
Amit Merchant [Wed, 3 Sep 2014 11:00:26 +0000 (16:30 +0530)]
CONTRIBUTING: Close parenthesis

Closes gh-1648

10 years agoCSS: Correct typo in the comment
Oleg Gaidarenko [Tue, 2 Sep 2014 20:20:23 +0000 (00:20 +0400)]
CSS: Correct typo in the comment

10 years agoCSS: Use pre-defined displays for html and body
Oleg Gaidarenko [Tue, 2 Sep 2014 20:11:05 +0000 (00:11 +0400)]
CSS: Use pre-defined displays for html and body

Ref 60f546acb1c7136092b4fd01cccff052e468cc72
Ref 274feb53cc9a99633dfac785d8b3b837d192c43c

10 years agoCSS: Remove use of getDefaultComputedStyle
Nazar Mokrynskyi [Mon, 1 Sep 2014 21:13:46 +0000 (23:13 +0200)]
CSS: Remove use of getDefaultComputedStyle

Remove optimization to make jQuery compatible with Google's Polymer project

Closes gh-1647
Fixes #15227

10 years agoAttr: Use typeof check for getAttribute method
Oleg Gaidarenko [Tue, 2 Sep 2014 17:44:02 +0000 (21:44 +0400)]
Attr: Use typeof check for getAttribute method

Ref 29838b6cab6f2e508f3e9692f32918c72b1a504b

10 years agoBuild: Moved JSHint directives to .jshintrc file
Chris Antaki [Fri, 25 Jul 2014 22:23:54 +0000 (15:23 -0700)]
Build: Moved JSHint directives to .jshintrc file

Closes gh-1595

10 years agoOffset: Simplified a conditional
Chris Antaki [Fri, 25 Jul 2014 20:08:42 +0000 (13:08 -0700)]
Offset: Simplified a conditional

10 years agoCore: Drop strundefined variable
Chris Antaki [Fri, 25 Jul 2014 19:21:22 +0000 (12:21 -0700)]
Core: Drop strundefined variable

10 years agoCSS: Removed redundant "to the number" in comment
Aurelio De Rosa [Tue, 10 Jun 2014 21:26:35 +0000 (22:26 +0100)]
CSS: Removed redundant "to the number" in comment

Closes gh-1594

10 years agoCss: Fix the "sanity check" test
Michał Gołębiowski [Mon, 28 Jul 2014 16:46:31 +0000 (18:46 +0200)]
Css: Fix the "sanity check" test

The #dl element has 0 height so it's now considered hidden regardless
of its width.

10 years agoCSS: elements are hidden when either offsetWidth or offsetHeight is zero
Timmy Willison [Thu, 17 Jul 2014 23:53:57 +0000 (16:53 -0700)]
CSS: elements are hidden when either offsetWidth or offsetHeight is zero

- Note: this is a breaking change that has been delayed for several versions.

Fixes #10406
Fixes #13132

10 years agoBuild: update source map options for the new grunt jshint
Timmy Willison [Thu, 17 Jul 2014 18:15:19 +0000 (11:15 -0700)]
Build: update source map options for the new grunt jshint

10 years agoBuild: update grunt-jscs-checker and pass with the new rules
Timmy Willison [Thu, 17 Jul 2014 17:25:59 +0000 (10:25 -0700)]
Build: update grunt-jscs-checker and pass with the new rules

10 years agoBuild: update node dependencies barring jscs
Timmy Willison [Thu, 17 Jul 2014 17:24:37 +0000 (10:24 -0700)]
Build: update node dependencies barring jscs

10 years agoBuild: update front-end dependencies 1620/head
Timmy Willison [Thu, 17 Jul 2014 16:03:29 +0000 (09:03 -0700)]
Build: update front-end dependencies

10 years agoBuild: drop bower; use npm for front-end deps
Timmy Willison [Thu, 17 Jul 2014 16:02:59 +0000 (09:02 -0700)]
Build: drop bower; use npm for front-end deps

Fixes #15186
Closes gh-1620

10 years agoAjax: Remove workaround for IE6/7
Chris Antaki [Fri, 13 Jun 2014 18:42:38 +0000 (11:42 -0700)]
Ajax: Remove workaround for IE6/7

Closes gh-1597
Ref #8138

10 years agoReadme: Fix punctuation in tile
upisfree [Sun, 29 Jun 2014 11:09:59 +0000 (14:09 +0300)]
Readme: Fix punctuation in tile

Closes gh-1607

10 years agoCore: Consistently use local reference to access()
Timo Tijhof [Tue, 24 Jun 2014 10:52:15 +0000 (12:52 +0200)]
Core: Consistently use local reference to access()

Ref 3b53b75160606610cc8f87404f89fc9e10441c4b
Closes gh-1605

10 years agoBuild: update Sizzle to 2.0.0
Timmy Willison [Tue, 1 Jul 2014 20:50:27 +0000 (16:50 -0400)]
Build: update Sizzle to 2.0.0

10 years agoSelector: Remove "#" exception for identifier tokens
Michał Gołębiowski [Mon, 30 Jun 2014 16:13:57 +0000 (18:13 +0200)]
Selector: Remove "#" exception for identifier tokens

Port Sizzle test change from:
https://github.com/jquery/sizzle/commit/f204a6112216f31685717d9fc1bf6cabf42b2ef1

10 years agoBuild: Update license
Scott González [Tue, 27 May 2014 19:03:12 +0000 (15:03 -0400)]
Build: Update license

Closes gh-1587

10 years agoBuild: update grunt-bowercopy
Timmy Willison [Wed, 25 Jun 2014 17:51:39 +0000 (13:51 -0400)]
Build: update grunt-bowercopy

10 years agoBuild: update Sizzle to 1.11.1 and include license
Timmy Willison [Wed, 25 Jun 2014 17:43:09 +0000 (13:43 -0400)]
Build: update Sizzle to 1.11.1 and include license

10 years agoBuild: ignore test dependencies for npm install
Timmy Willison [Tue, 24 Jun 2014 15:17:44 +0000 (11:17 -0400)]
Build: ignore test dependencies for npm install

10 years agoBuild: Move all external libraries to external directory
Scott González [Tue, 10 Jun 2014 19:32:25 +0000 (15:32 -0400)]
Build: Move all external libraries to external directory

Closes gh-1593

10 years agoBuild: Remove unused Sizzle test files
Scott González [Tue, 10 Jun 2014 19:13:03 +0000 (15:13 -0400)]
Build: Remove unused Sizzle test files

10 years agoBuild: Upgrade to grunt-bowercopy 1.0.0
Scott González [Tue, 10 Jun 2014 19:58:28 +0000 (15:58 -0400)]
Build: Upgrade to grunt-bowercopy 1.0.0

10 years agoBuild: Update commitplease dev dependency
Oleg Gaidarenko [Sun, 15 Jun 2014 23:01:53 +0000 (03:01 +0400)]
Build: Update commitplease dev dependency

10 years agoBuild: Move test to appropriate module
Oleg Gaidarenko [Sat, 14 Jun 2014 16:31:08 +0000 (20:31 +0400)]
Build: Move test to appropriate module

10 years agoEffects: Improve raf logic
Oleg Gaidarenko [Mon, 12 May 2014 17:53:40 +0000 (21:53 +0400)]
Effects: Improve raf logic

* Make animation behave as if jQuery.fx.off = true if document is hidden

* Use cancelAnimationFrame in jQuery.fx.stop

Closes gh-1578

10 years agoEffects: Reintroduce use of requestAnimationFrame
Oleg Gaidarenko [Fri, 9 May 2014 00:21:42 +0000 (04:21 +0400)]
Effects: Reintroduce use of requestAnimationFrame

Same as before, just use don't use prefixes, since they pretty match useless now
and use page visibility API to determine if animation should start.

Also null the requestAnimationFrame attribute in window for tests since
sinon does not provide fake method for it.

Fixes #15147

10 years agoAjax: Always use script injection in globalEval
Oleg Gaidarenko [Fri, 29 Nov 2013 08:15:05 +0000 (12:15 +0400)]
Ajax: Always use script injection in globalEval

Fixes #14757
Closes gh-1449

10 years agoCSS: Do not throw on frame elements in FF
Oleg Gaidarenko [Sun, 18 May 2014 16:47:37 +0000 (20:47 +0400)]
CSS: Do not throw on frame elements in FF

IE9-10 throws on elements created in popups (see #14150), FF meanwhile throws
on frame elements through "defaultView.getComputedStyle" (see #15098)

Use "defaultView" if in the popup which would fix IE issue,
use "window.getComputedStyle" which would fix FF issue.

And everybody wins, except performance, but who cares right?

Fixes #15098
Closes gh-1583

10 years agoSupport: clean up comments and Support notation
Dave Methvin [Fri, 25 Apr 2014 22:26:36 +0000 (18:26 -0400)]
Support: clean up comments and Support notation

Closes gh-1577