update tests to use new assign helper

pull/613/head
Rich Harris 8 years ago
parent 869ae4b3cf
commit a538f7a071

@ -1,7 +1,8 @@
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,7 +1,8 @@
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,9 +1,10 @@
function noop () {}
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,9 +1,10 @@
function noop () {}
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,7 +1,8 @@
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,7 +1,8 @@
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,7 +1,8 @@
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,7 +1,8 @@
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,7 +1,8 @@
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,7 +1,8 @@
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,7 +1,8 @@
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,7 +1,8 @@
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,9 +1,10 @@
import Imported from 'Imported.html';
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,9 +1,10 @@
import Imported from 'Imported.html';
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,9 +1,10 @@
function noop () {}
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,9 +1,10 @@
function noop () {}
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,7 +1,8 @@
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

@ -1,7 +1,8 @@
function assign ( target ) {
for ( var i = 1; i < arguments.length; i += 1 ) {
var source = arguments[i];
for ( var k in source ) target[k] = source[k];
var k, source, i = 1, len = arguments.length;
for ( ; i < len; i++ ) {
source = arguments[i];
for ( k in source ) target[k] = source[k];
}
return target;

Loading…
Cancel
Save