mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Save dictName in ReactiveDict
This commit is contained in:
@@ -24,6 +24,7 @@ ReactiveDict = function (dictName) {
|
||||
// _registerDictForMigrate will throw an error on duplicate name.
|
||||
ReactiveDict._registerDictForMigrate(dictName, this);
|
||||
this.keys = ReactiveDict._loadMigratedDict(dictName) || {};
|
||||
this.name = dictName;
|
||||
} else if (typeof dictName === 'object') {
|
||||
// back-compat case: dictName is actually migrationData
|
||||
this.keys = dictName;
|
||||
|
||||
Reference in New Issue
Block a user