Skip to content

Instantly share code, notes, and snippets.

@shubik
Created June 2, 2013 00:18
Show Gist options
  • Save shubik/5692143 to your computer and use it in GitHub Desktop.
Save shubik/5692143 to your computer and use it in GitHub Desktop.
var ModelConstructor = function(id) {
// some code...
this._loading = deferred();
this._ready = this._loading.promise;
// more code...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment