mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-17 22:24:49 +02:00
JSHint fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
iD.operations.Disconnect = function(selection, context) {
|
||||
var vertices = _.filter(selection, function vertex(entityId) {
|
||||
return context.geometry(entityId) === 'vertex'
|
||||
return context.geometry(entityId) === 'vertex';
|
||||
});
|
||||
|
||||
var entityId = vertices[0],
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
iD.operations.Split = function(selection, context) {
|
||||
var vertices = _.filter(selection, function vertex(entityId) {
|
||||
return context.geometry(entityId) === 'vertex'
|
||||
return context.geometry(entityId) === 'vertex';
|
||||
});
|
||||
|
||||
var entityId = vertices[0],
|
||||
|
||||
@@ -4,7 +4,7 @@ iD.ui.Attribution = function(context) {
|
||||
function update() {
|
||||
if (!context.background().source()) {
|
||||
selection.html('');
|
||||
return
|
||||
return;
|
||||
}
|
||||
|
||||
var attribution = selection.selectAll('.provided-by')
|
||||
|
||||
@@ -51,7 +51,7 @@ iD.ui.preset.access = function(field, context) {
|
||||
return {
|
||||
title: field.t('options.' + option + '.description'),
|
||||
value: option
|
||||
}
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user