Permalink
Browse files

JSHint fixes

  • Loading branch information...
1 parent 541ac0a commit f091237b709aa44da6a17a808b55b05c2594c962 @tmcw tmcw committed Apr 15, 2013
Showing with 4 additions and 4 deletions.
  1. +1 −1 js/id/operations/disconnect.js
  2. +1 −1 js/id/operations/split.js
  3. +1 −1 js/id/ui/attribution.js
  4. +1 −1 js/id/ui/preset/access.js
@@ -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],
View
@@ -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
- }
+ };
});
};

0 comments on commit f091237

Please sign in to comment.