Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

todoMVC doesn't work fine when "super(options)" is moved to the first line #130

Open
gadget2k opened this issue Dec 13, 2016 · 0 comments
Open

Comments

@gadget2k
Copy link

Line# 205
constructor (options?) {
super(options);
//... is a list tag.
this.tagName = "li";

Though it's requested by new ts version that super should be the first element, it doesn't make sense when js is compiled. It just does't work. Backbone seems to need super call later. How to avoid this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant