Commit Graph

346 Commits

Author SHA1 Message Date
Jason Bedard
224271982e Data: Don't expose jQuery.acceptData
jQuery.acceptData is an undocumented internal API that shouldn't be exposed.

Fixes gh-2555
2015-09-08 01:00:31 +02:00
Oleg Gaidarenko
10fdad742a Build: Update jscs and lint files
Fixes gh-2056
2015-09-07 20:03:50 +03:00
Jason Bedard
5fe76c663f Data: remove user data in cleanData
Fixes gh-2503
Closes gh-2480
2015-07-28 14:22:03 +02:00
Michał Gołębiowski
349edbd6c5 Manipulation: Remove an internal argument to the remove method
Fixes gh-2301
Closes gh-2366
2015-06-14 00:07:31 +02:00
Timmy Willison
62d5579578 Manipulation: privatize internal domManip() function
Fixes gh-2225
2015-05-05 11:53:26 -07:00
Timmy Willison
a74320fca8 Manipulation: privatize buildFragment() function
Fixes gh-2224
2015-05-05 11:44:55 -07:00
Richard Gibson
225bde37c9 Manipulation: Make an HTML interception point
Fixes gh-1747
Closes gh-2203
2015-04-30 13:15:33 -04:00
Richard Gibson
4b27ae16a2 Manipulation: Detect sneaky no-content replaceWith input
Fixes gh-2204
Ref 642e9a4557
Closes gh-1752
Closes gh-2206
2015-04-30 11:36:38 -04:00
Rick Waldron
332fd941b4 Data: restore explicit data removal of private data in cleanData.
Fixes gh-2127
Closes gh-2132
2015-03-09 13:51:16 -04:00
Rick Waldron
d702b7637a Data: move element cache to element[expando]
- avoid explicit data.discard() cleanup calls
- explicitly remove the data.events property, only when private data exists
- reduces code footprint

Fixes gh-1734
Close gh-1428
2015-03-04 17:26:47 -05:00
Oleg Gaidarenko
e984d1c79c Manipulation: don't auto-insert tbody
Fixes gh-1835
Closes gh-2021
2015-02-11 16:49:59 +03:00
Oleg Gaidarenko
0ea342a6a6 Manipulation: simplify html wrappers
Take advantage of html serialization for html wrappers - saves 26 bytes
Plus add additional test for "col" element

Closes gh-2031
Fixes gh-2002
2015-02-10 23:44:01 +03:00
Leonardo Braga
85ffc6d973 Manipulation: add support to tag-hyphenated elements
Fixes #1987
Closes gh-1988
2015-01-13 07:42:59 +03:00
Richard Gibson
53aa87f3bf Core: Standardize indexOf comparisons
not present: `< 0`
present: `> -1`
at index: `=== N`

Closes gh-1984
2015-01-10 23:47:01 -05:00
Michał Gołębiowski
740e190223 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
2014-11-03 18:37:26 +01:00
Timmy Willison
758fd6cea9 Docs: 1.x-master branch -> compat branch; 2.x branch -> master branch 2014-11-03 12:34:45 -05:00
Richard Gibson
1ae025e24f Manipulation: Tolerate XMLNode host object input to getAll
Fixes #15151
Ref 25712d77c3
Closes gh-1602
2014-09-04 02:41:57 -04:00
Timmy Willison
c869a1ef8a Build: update grunt-jscs-checker and pass with the new rules 2014-07-17 10:25:59 -07:00
Dave Methvin
d837f119c3 Support: clean up comments and Support notation
Closes gh-1577
2014-06-10 23:28:14 -04:00
Michał Gołębiowski
a96d5bed58 Manipulation: don't use Object.keys for consistency
Fixes #14659
2014-03-09 23:31:59 +01:00
Chris Antaki
cc19a6bd3b No ticket: Reduce size by reordering variable declarations. Close gh-1416. 2013-11-05 17:16:38 -05:00
Chris Antaki
fb2e0a0c28 Fix #11809: Update text without creating DOM nodes. Close gh-1412. 2013-11-05 17:13:49 -05:00
Timmy Willison
a5037cb9e3 Fixes #14450. Remove CommonJS+AMD syntax. 2013-10-15 10:40:48 -04:00
Dave Methvin
ec3ac9a247 Fix #14290. Don't throw if text node is appended to table. Close gh-1371. 2013-09-19 10:24:22 -04:00
Oleg
642e9a4557 Simplify replaceWith method. Closes gh-1276 2013-09-17 13:24:27 +04:00
Oleg
cb37994d76 No ticket: fix code style inconsistencies. Closes gh-1361 2013-09-13 01:04:29 +04:00
Timmy Willison
8a832797c0 Fix support test for checkClone. Fixes Safari 5.1 manip failures. 2013-09-11 09:51:31 -05:00
Timmy Willison
825ac37736 Separate jQuery.fn.init into its own module (for lighter core dependencies across all modules) 2013-09-09 19:13:01 -05:00
Timmy Willison
99191a510e Apply consistent ordering in all modules. -38 bytes. Order modules like functions > jQuery.extend > jQuery.fn.extend. 2013-09-09 13:54:46 -05:00
Timmy Willison
3b53b75160 Break jQuery.access out into its own module to separate it from core; Adjust CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax. 2013-09-09 11:34:23 -04:00
Timmy Willison
b534ee2ccf Always return jQuery in modules that can be included separately 2013-09-08 21:25:27 -04:00
Michał Gołębiowski
bbbdd94725 Fix #10814. Make support tests lazy and broken out to components. 2013-09-06 03:38:22 +02:00
Timmy Willison
cecb52ff5c Specify support as a dependency wherever it is used. Optimize module order to save 15 bytes. 2013-08-15 20:38:48 -04:00
Timmy Willison
6318ae6ab9 AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163. 2013-08-15 14:15:49 -04:00
ruado1987
5f1aa2354a Fixes #13976: Garbage input should not cause error in buildFragment. Close gh-1284 2013-07-01 22:31:01 +04:00
Rick Waldron
c1b8edfcc9 Optimize cleanData: allow direct access to data_priv for cleanup 2013-05-13 15:00:57 -04:00
Richard Gibson
18cccd04a6 Fix #13803: domManip remote-script evaluation per 1.9 (AJAX dataType "script") 2013-04-29 13:31:59 -04:00
Corey Frang
55e319aa52 Fixes #13815: Ensure each element has its own private data object - Tests by @rwldrn 2013-04-24 17:09:30 -04:00
Oleg
3a6194076b Fix #13818: Add wrapMap entry for col element 2013-04-24 22:15:41 +04:00
Richard Gibson
d8f7e83712 Fix #13810: .replaceWith(nextSibling) 2013-04-22 21:08:38 -04:00
Timmy Willison
3ef7a9683b Remove unnecessary usage of getAttributeNode(). Fixes #12072. 2013-04-18 13:51:12 -04:00
Richard Gibson
03db1ada2c Fix #12838: hook point for non-jQuery.ajax synchronous script fetch/execute in domManip. Close gh-1051. 2013-04-17 11:27:57 -04:00
Rick Waldron
2c7b1b8502 Loop cleanup
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2013-04-16 22:37:48 -04:00
Rick Waldron
77d7f26452 Fixes #13779. Remove nodes in document order (uses for loop matching empty()). 2013-04-16 22:18:44 -04:00
Richard Gibson
db0326b1fd Fix #13596; #13722: .replaceWith consistency. Close gh-1216. 2013-04-16 17:47:21 -04:00
Oleg Gaidarenko
e8731410a4 No ticket. Use data_priv methods instead of jQuery._removeData and jQuery._data; Remove needless, internal second argument of jQuery.cleanData. Closes gh-1234 2013-04-08 15:35:16 -04:00
Michał Gołębiowski
dca7681284 Improve CSS and Support: comments. Close gh-1220.
1) corrected box-sizing rules order - the unprefixed value should always be the last one
2) removed last semi-colons in CSS rules
3) updated support comments

code review changes + more consistent comment spacing
2013-04-06 17:09:52 -04:00
Dave Methvin
1b61026650 Fix #13721. Filter before .remove() loop so positionals work. Close gh-1221. 2013-04-06 16:37:32 -04:00
Dave Methvin
5031c9db4b Fix #13741. Make wrap/unwrap methods optional. Close gh-1222. 2013-04-06 16:00:58 -04:00
Mark Raddatz
6a0ee2d9ed Fix #13401: replaceWith(""). Close gh-1163. 2013-02-08 09:49:14 -05:00