mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-23 00:29:50 +02:00
Fix lint warnings, comment out crashy service reset code (re: #3324)
This commit is contained in:
@@ -146,8 +146,9 @@ export function Context(root) {
|
||||
features.reset();
|
||||
history.reset();
|
||||
_.each(services, function(service) {
|
||||
var reset = service().reset;
|
||||
if (reset) reset(context);
|
||||
// TODO: fix access to services #3324
|
||||
// var reset = service().reset;
|
||||
// if (reset) reset(context);
|
||||
});
|
||||
return context;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user