Specify support as a dependency wherever it is used. Optimize module order to save 15 bytes.

This commit is contained in:
Timmy Willison
2013-08-15 20:38:48 -04:00
parent 7877c4fa73
commit cecb52ff5c
10 changed files with 21 additions and 12 deletions

View File

@@ -6,7 +6,9 @@ define([
"./css/defaultDisplay",
"./data/var/data_priv",
"./core/swap",
"./selector" // contains
"./core/ready",
"./selector", // contains
"./support"
], function( jQuery, pnum, cssExpand, isHidden, defaultDisplay, data_priv ) {
var curCSS,
// swappable if display is none or starts with table except "table", "table-cell", or "table-caption"