From cecb52ff5c5c5c6a030b6520dc1e39ec4c6df3d9 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Thu, 15 Aug 2013 20:38:48 -0400 Subject: Specify support as a dependency wherever it is used. Optimize module order to save 15 bytes. --- src/attributes/attr.js | 3 ++- src/attributes/prop.js | 3 ++- src/attributes/val.js | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'src/attributes') diff --git a/src/attributes/attr.js b/src/attributes/attr.js index 4e0102bfa..202c7028b 100644 --- a/src/attributes/attr.js +++ b/src/attributes/attr.js @@ -2,7 +2,8 @@ define([ "../core", "../var/rnotwhite", "../var/strundefined", - "../selector" + "../selector", + "../support" ], function( jQuery, rnotwhite, strundefined ) { var nodeHook, boolHook; diff --git a/src/attributes/prop.js b/src/attributes/prop.js index f7ce11f97..95462bbbb 100644 --- a/src/attributes/prop.js +++ b/src/attributes/prop.js @@ -1,5 +1,6 @@ define([ - "../core" + "../core", + "../support" ], function( jQuery ) { var rfocusable = /^(?:input|select|textarea|button)$/i; diff --git a/src/attributes/val.js b/src/attributes/val.js index fd8badeb2..73a3bf3ea 100644 --- a/src/attributes/val.js +++ b/src/attributes/val.js @@ -1,5 +1,6 @@ define([ - "../core" + "../core", + "../support" ], function( jQuery ) { var rreturn = /\r/g; -- cgit v1.2.3