rafikk/ply — pull request #6 by richardscarrott (2011-12-11 20:23:33+00:00)
Title: Added destroy method.

Hey Rafikk,

Following on from our [discussion](https://github.com/rafikk/ply/issues/3) I've added a destroy method.

To do this I added Ply.core.ignore to remove notifications by passing in the now returned handle from Ply.core.listen.

I also added a base object to be used as a prototype for all views (merged in with Ply.config.ui.base) containing `__bindObjects` and `__bindPartials` along with the new destroy method to ensure they're not being defined for every new instance.

Let me know if you're interested in pulling this in or have any suggestions.

Rich