API Docs for: 0.8.2
Show:

SyncDriver Class

An implementation of SyncDriver which syncronizes the XooML so that it reflects the storage. This implementation ensures that only the XooML is modified, and that the user's storage is never modified, safely protecting any data.

For ItemMirror core developers only. Enable protected to see.

Constructor

SyncDriver

(
  • itemMirror
)
protected

Parameters:

  • itemMirror Object

    The itemMirror object which you wish to synchronize

Item Index

Methods

Methods

_nameCompare

() protected

Helper method that allows for sorting of objects by the localItem

sync

(
  • callback
)
protected

Synchonizes the itemMirror object.

Parameters:

  • callback Function

    Function to execute once finished.

    • error Object

      Null if no error has occurred in executing this function, else an contains an object with the error that occurred.