Commit 4380a273 authored by Emmanuel Kasper's avatar Emmanuel Kasper Committed by Dietmar Maurer

Add documentation header

parent 4ecaceab
/*
* The DiffStore acts as proxy between an UpdateStore instance and a component.
* Its purpose is to redisplay the component *only* if the data has been changed
* inside the UpdateStore, to avoid the annoying visual flickering of using
* the UpdateStore directly.
*
* Implementation:
* The DiffStore monitors via mon() the 'load' events sent by the target store.
* On each 'load' event, the DiffStore compares its own content with the target
* store (call to cond_add_item()) and then fires a 'refresh' event.
* The 'refresh' event will automatically trigger a view refresh on the component
* who binds to this store.
*/
/* Config properties: /* Config properties:
* rstore: A storage to track changes * rstore: A target store to track changes
* Only works if rstore has a model and use 'idProperty' * Only works if rstore has a model and use 'idProperty'
*/ */
Ext.define('PVE.data.DiffStore', { Ext.define('PVE.data.DiffStore', {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment