Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix typo

  • Loading branch information...
commit 4b6ab5a501784b08eb12e8fed7657caccb3a0148 1 parent 43e70b7
@adrai authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/bases/aggregateBase.js
View
6 lib/bases/aggregateBase.js
@@ -46,15 +46,15 @@ Aggregate.prototype = {
return event;
},
- laodSnapshot: function(data, version) {
+ loadSnapshot: function(data, version) {
this.set(data);
},
loadFromHistory: function(snap, events) {
if (snap && snap.data && snap.version) {
- this.laodSnapshot(snap.data, snap.version);
+ this.loadSnapshot(snap.data, snap.version);
} else if (snap && snap.data) {
- this.laodSnapshot(snap.data);
+ this.loadSnapshot(snap.data);
}
if (events) {
Please sign in to comment.
Something went wrong with that request. Please try again.