@@ -283,7 +283,7 @@ function sortedKeys(obj) {
283283
284284function forEachSorted ( obj , iterator , context ) {
285285 var keys = sortedKeys ( obj ) ;
286- for ( var i = 0 ; i < keys . length ; i ++ ) {
286+ for ( var i = 0 ; i < keys . length ; i ++ ) {
287287 iterator . call ( context , obj [ keys [ i ] ] , keys [ i ] ) ;
288288 }
289289 return keys ;
@@ -624,7 +624,7 @@ function isElement(node) {
624624 */
625625function makeMap ( str ) {
626626 var obj = { } , items = str . split ( "," ) , i ;
627- for ( i = 0 ; i < items . length ; i ++ )
627+ for ( i = 0 ; i < items . length ; i ++ )
628628 obj [ items [ i ] ] = true ;
629629 return obj ;
630630}
@@ -742,7 +742,7 @@ function copy(source, destination, stackSource, stackDest) {
742742 var result ;
743743 if ( isArray ( source ) ) {
744744 destination . length = 0 ;
745- for ( var i = 0 ; i < source . length ; i ++ ) {
745+ for ( var i = 0 ; i < source . length ; i ++ ) {
746746 result = copy ( source [ i ] , null , stackSource , stackDest ) ;
747747 if ( isObject ( source [ i ] ) ) {
748748 stackSource . push ( source [ i ] ) ;
@@ -759,7 +759,7 @@ function copy(source, destination, stackSource, stackDest) {
759759 delete destination [ key ] ;
760760 } ) ;
761761 }
762- for ( var key in source ) {
762+ for ( var key in source ) {
763763 if ( source . hasOwnProperty ( key ) ) {
764764 result = copy ( source [ key ] , null , stackSource , stackDest ) ;
765765 if ( isObject ( source [ key ] ) ) {
@@ -1047,10 +1047,10 @@ function tryDecodeURIComponent(value) {
10471047function parseKeyValue ( /**string*/ keyValue ) {
10481048 var obj = { } , key_value , key ;
10491049 forEach ( ( keyValue || "" ) . split ( '&' ) , function ( keyValue ) {
1050- if ( keyValue ) {
1050+ if ( keyValue ) {
10511051 key_value = keyValue . replace ( / \+ / g, '%20' ) . split ( '=' ) ;
10521052 key = tryDecodeURIComponent ( key_value [ 0 ] ) ;
1053- if ( isDefined ( key ) ) {
1053+ if ( isDefined ( key ) ) {
10541054 var val = isDefined ( key_value [ 1 ] ) ? tryDecodeURIComponent ( key_value [ 1 ] ) : true ;
10551055 if ( ! hasOwnProperty . call ( obj , key ) ) {
10561056 obj [ key ] = val ;
0 commit comments