{"issue":{"user":{"id":455645,"login":"jhudson8","url":"https://api.github.com/users/jhudson8","avatar_url":"https://secure.gravatar.com/avatar/e9086a8466db2357a996e50a4b75e69e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e9086a8466db2357a996e50a4b75e69e"},"milestone":null,"created_at":"2011-11-17T22:02:36Z","title":"Thorax.View.setModel doesn't always call Thorax.View.render","labels":[],"state":"open","updated_at":"2011-12-20T22:06:55Z","id":2274301,"html_url":"https://github.com/walmartlabs/thorax/issues/6","closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"Thorax.View.setModel will only call onModelChange if the model does not have to be fetched.  Because of this, you can't rely on the fact that Thorax.View.render will be called.\r\n\r\nSuggestion: call onModelChange in success of the model fetch.","number":6,"url":"https://api.github.com/repos/walmartlabs/thorax/issues/6","comments":1,"assignee":null},"comment":{"user":{"id":30921,"login":"syntacticx","url":"https://api.github.com/users/syntacticx","avatar_url":"https://secure.gravatar.com/avatar/9ad5cf80b56d7ebce942cf628c2c2cbb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9ad5cf80b56d7ebce942cf628c2c2cbb"},"created_at":"2011-12-20T22:06:55Z","updated_at":"2011-12-20T22:07:08Z","id":3226201,"body":"Walking through what happens during a typical fetch:\r\n\r\nfetch() -> set() -> change() -> model.change event handler -> onModelChange()\r\n\r\nAre the particular cases where you aren't seeing the behavior you want?","url":"https://api.github.com/repos/walmartlabs/thorax/issues/comments/3226201"},"action":"created"}