You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
// Ensure that each todo created has `content`.initialize(){if(!this.get("content")){this.set({"content": this.defaults().content});}}
How/where is this called? My preference for a todo example is for stuff like this to be explicit or commented-- I am looking at this repo precisely because I'm not familiar with typescript, so I'm not sure if it's a typescript thing, a backbone thing (if so why isn't it in the Backbone.Model ts def?). Thanks!
The text was updated successfully, but these errors were encountered:
https://github.com/Microsoft/TypeScriptSamples/blob/master/todomvc/js/todos.ts#L131-L135
How/where is this called? My preference for a todo example is for stuff like this to be explicit or commented-- I am looking at this repo precisely because I'm not familiar with typescript, so I'm not sure if it's a typescript thing, a backbone thing (if so why isn't it in the
Backbone.Model
ts def?). Thanks!The text was updated successfully, but these errors were encountered: