Skip to content

Save _super before reopening#481

Merged
teddyzeenny merged 1 commit intoemberjs:masterfrom
teddyzeenny:fix-super
Oct 7, 2015
Merged

Save _super before reopening#481
teddyzeenny merged 1 commit intoemberjs:masterfrom
teddyzeenny:fix-super

Conversation

@teddyzeenny
Copy link
Copy Markdown
Contributor

If you call reopen in an object's method on the object itself _super will be reset and can no longer be used.

This stores _super in a variable to we can call it later.

Fixes #461
Fixes #478
Fixes emberjs/ember.js#12439

If you call `reopen` in an object's method on the object itself `_super` will be reset and can no longer be used.

This stores `_super` in a variable to we can call it later.
teddyzeenny added a commit that referenced this pull request Oct 7, 2015
@teddyzeenny teddyzeenny merged commit 6d30b55 into emberjs:master Oct 7, 2015
@teddyzeenny teddyzeenny deleted the fix-super branch October 7, 2015 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant