moved UA to Global namespace, and fixed scope issue in _drawChildren that was preventing nested draws from working correctly

This commit is contained in:
Eric Rowell
2013-09-14 11:02:47 -07:00
parent 6131385a4e
commit 91fd14cc9f
5 changed files with 27 additions and 32 deletions

View File

@@ -2138,8 +2138,6 @@ suite('Node', function() {
layer.add(group);
stage.add(layer);
var startDataUrl = layer.toDataURL();
assert.equal(triangle.getId(), 'myTriangle');
var expectedJson = '{"attrs":{"width":578,"height":200},"className":"Stage","children":[{"attrs":{},"className":"Layer","children":[{"attrs":{},"className":"Group","children":[{"attrs":{"fill":"#00D2FF","stroke":"black","strokeWidth":4,"id":"myTriangle"},"className":"Shape"}]}]}]}';