fix double metadata load

This commit is contained in:
Yuri Kuznetsov
2014-06-16 11:12:04 +03:00
parent b7b118c122
commit 4604f27176
+1
View File
@@ -37,6 +37,7 @@
load: function (callback, sync) {
var sync = (typeof sync == 'undefined') ? false: sync;
this.off('sync');
this.once('sync', callback);
if (!this.loadFromCache()) {
this.fetch(sync);