Start using d3 3.1.0

Update d3, use streams, d3.set, clip
Use clipping, fix side effects
This commit is contained in:
Tom MacWright
2013-03-07 17:15:51 -05:00
parent e2dc3f46b2
commit 0fafa340fe
10 changed files with 2014 additions and 380 deletions

View File

@@ -1,9 +1,4 @@
describe('iD.Util', function() {
it('#trueObj', function() {
expect(iD.util.trueObj(['a', 'b', 'c'])).to.eql({ a: true, b: true, c: true });
expect(iD.util.trueObj([])).to.eql({});
});
it('#tagText', function() {
expect(iD.util.tagText({})).to.eql('');
expect(iD.util.tagText({tags:{foo:'bar'}})).to.eql('foo=bar');