No ticket: Reduce size by reordering variable declarations. Close gh-1416.

This commit is contained in:
Chris Antaki 2013-11-02 01:38:37 -07:00 committed by Richard Gibson
parent fb2e0a0c28
commit cc19a6bd3b

View File

@ -76,8 +76,8 @@ function restoreScript( elem ) {
// Mark scripts as having already been evaluated
function setGlobalEval( elems, refElements ) {
var l = elems.length,
i = 0;
var i = 0,
l = elems.length;
for ( ; i < l; i++ ) {
data_priv.set(
@ -190,10 +190,10 @@ jQuery.extend({
buildFragment: function( elems, context, scripts, selection ) {
var elem, tmp, tag, wrap, contains, j,
i = 0,
l = elems.length,
fragment = context.createDocumentFragment(),
nodes = [];
nodes = [],
i = 0,
l = elems.length;
for ( ; i < l; i++ ) {
elem = elems[ i ];