mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-22 16:19:48 +02:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user