These are chat archives for canjs/canjs
thisinside of doSearch() is the window
Well the docs say that the events are only triggered on the prototype functions. E.g. in http://canjs.com/docs/can.Model.prototype.destroy.html
This triggers "destroyed" events on the instance and the Model constructor function which can be listened to with bind and bind.
Where the static docs state
destroy(id) -> Deferred is used by destroy remove a model instance from the server.