docs done -- going back to code comments

This commit is contained in:
Jeremy Ashkenas
2009-10-27 12:29:24 -04:00
parent 9a881c70cb
commit 5e3f783a23
4 changed files with 94 additions and 75 deletions

View File

@@ -40,7 +40,7 @@ $(document).ready(function() {
test('arrays: zip', function() {
var names = ['moe', 'larry', 'curly'], ages = [30, 40, 50], leaders = [true];
var stooges = _.zip(names, ages, leaders);
equals(_.toString(stooges), 'moe,30,true,larry,40,,curly,50,', 'zipped together arrays of different lengths');
equals(String(stooges), 'moe,30,true,larry,40,,curly,50,', 'zipped together arrays of different lengths');
});
test("arrays: indexOf", function() {

View File

@@ -58,9 +58,5 @@ $(document).ready(function() {
ok(_.isUndefined(), 'nothing is undefined');
ok(_.isUndefined(undefined), 'undefined is undefined');
});
test("objects: toString", function() {
equals(_.toString([1, 2, 3]), '1,2,3', 'object can be converted to printable strings');
});
});