Remove support for debug rendering of the community index

We have http://openstreetmap.community now for this, and it eliminates
another place in the code where that data would have been needed.
This commit also ES6ifies svgDebug.
This commit is contained in:
Bryan Housel
2020-01-29 13:35:25 -05:00
parent 362558f7dc
commit 89724cfb1b
3 changed files with 136 additions and 161 deletions
+8 -11
View File
@@ -53,17 +53,14 @@ describe('iD.coreContext', function() {
describe('#debug', function() {
it('sets and gets debug flags', function() {
var context = iD.coreContext(),
flags = {
tile: false,
collision: false,
community: false,
imagery: false,
imperial: false,
driveLeft: false,
target: false,
downloaded: false
};
var context = iD.coreContext();
var flags = {
tile: false,
collision: false,
imagery: false,
target: false,
downloaded: false
};
expect(context.debugFlags()).to.eql(flags);