can.Observe.backup is a plugin that provides a dirty bit for properties on an Observe,
and lets you restore the original values of an Observe's properties after they are changed.
Here is an example showing how to use backup to save values,
restore to restore them, and isDirty
to check if the Observe has changed:
Here is an example showing how to use
backup
to save values,restore
to restore them, andisDirty
to check if the Observe has changed: