mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Use module.importSync instead of module.import in getNamespace.
This commit is contained in:
@@ -172,7 +172,7 @@ function addToTree(tree, id, value) {
|
||||
function getNamespace(module, id) {
|
||||
var namespace = Object.create(null);
|
||||
|
||||
module.import(id, {
|
||||
module.importSync(id, {
|
||||
"*": function (value, name) {
|
||||
namespace[name] = value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user