first pass at removing setDefaultAttrs logic to speed up node instantation performance

This commit is contained in:
Eric Rowell
2013-03-15 08:33:05 -07:00
parent 5c590bb88f
commit 69f9374c8e
28 changed files with 250 additions and 333 deletions

View File

@@ -852,7 +852,7 @@ Test.Modules.NODE = {
showHit(layer);
},
'hide group': function(containerId) {
'hide group 2': function(containerId) {
var stage = new Kinetic.Stage({
container: containerId,
width: 578,
@@ -2611,6 +2611,9 @@ Test.Modules.NODE = {
layer.hide();
layer.draw();
console.log(layer.toDataURL());
test(layer.toDataURL() === dataUrls['cleared'], 'layer is still visible');
},
'hide group': function(containerId) {