Permalink
Browse files

fix typo

  • Loading branch information...
adrai committed Jan 17, 2014
1 parent 43e70b7 commit 4b6ab5a501784b08eb12e8fed7657caccb3a0148
Showing with 3 additions and 3 deletions.
  1. +3 −3 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) {

0 comments on commit 4b6ab5a

Please sign in to comment.