Skip to content

Commit

Permalink
Merge pull request #13 from spartakit/master
Browse files Browse the repository at this point in the history
I messed up on lifecycle change, reverting
  • Loading branch information
dglazkov committed Aug 6, 2012
2 parents 46ab900 + cc4ec55 commit bcae0c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/declaration.js
Expand Up @@ -5,11 +5,11 @@ test('.generateConstructor must create a swizzled-prototype, HTMLElement-derived
var count = 0;
var result = new (polyfill.Declaration.prototype.generateConstructor.call({
element: {
extendsTagName: 'div',
created: function() {
count = 0;
}
extendsTagName: 'div'
},
created: function() {
count = 0;
},
elementPrototype: mockElement.prototype
}));
equal(result.__proto__.constructor, mockElement);
Expand Down

0 comments on commit bcae0c3

Please sign in to comment.