slickback icon indicating copy to clipboard operation
slickback copied to clipboard

Using Slickback collection prevents you from using the default initialize function

Open lvanderbijl opened this issue 13 years ago • 0 comments

You use the initialize function to install data view handlers, bind collection events etc. This means if I specify my own inititalize function on the collection, the slickback init doesn't run.

It might be worth mentioning in the docs that if you have a collection that has it's own initialize function, you need to run the slickback init's manually. It might be worth putting all the slickback init's into a single slickbackInitialize() function (rather than having installdataviewhandlers, bindcollectioneventtranslations etc) to make this easier to do.

lvanderbijl avatar Jul 17 '12 11:07 lvanderbijl