now passing Kinetic event object instead of native event object

This commit is contained in:
Eric Rowell
2014-03-20 21:55:30 -07:00
parent e6b44bb75d
commit 47ecb4559d
3 changed files with 49 additions and 41 deletions

View File

@@ -918,10 +918,11 @@ suite('MouseEvents', function() {
group2.on('click', function() {
e.push('group2');
});
layer.on('click', function() {
layer.on('click', function(evt) {
console.log(evt)
e.push('layer');
});
stage.on('click', function() {
stage.on('click', function(evt) {
e.push('stage');
});
// click on circle