Skip to content

Commit

Permalink
Pacify eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Jul 25, 2016
1 parent fd0803f commit 747b9f3
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 10 deletions.
1 change: 1 addition & 0 deletions modules/presets/field.js
@@ -1,5 +1,6 @@
import { t } from '../util/locale';
import _ from 'lodash';

export function Field(id, field) {
field = _.clone(field);

Expand Down
2 changes: 1 addition & 1 deletion modules/ui/fields/access.js
@@ -1,5 +1,5 @@
import { t } from '../../util/locale';
import _ from 'lodash';

export function access(field) {
var dispatch = d3.dispatch('change'),
items;
Expand Down
1 change: 1 addition & 0 deletions modules/ui/fields/combo.js
@@ -1,5 +1,6 @@
import { t } from '../../util/locale';
import _ from 'lodash';

export {
combo as typeCombo,
combo as multiCombo
Expand Down
1 change: 1 addition & 0 deletions modules/ui/fields/input.js
@@ -1,4 +1,5 @@
import { t } from '../../util/locale';

export {
url as text,
url as number,
Expand Down
1 change: 1 addition & 0 deletions modules/ui/fields/radio.js
@@ -1,4 +1,5 @@
import { t } from '../../util/locale';

export function radio(field) {
var dispatch = d3.dispatch('change'),
labels, radios, placeholder;
Expand Down
1 change: 1 addition & 0 deletions modules/ui/fields/textarea.js
@@ -1,4 +1,5 @@
import { t } from '../../util/locale';

export function textarea(field) {
var dispatch = d3.dispatch('change'),
input;
Expand Down
1 change: 0 additions & 1 deletion modules/ui/intro/intro.js
@@ -1,7 +1,6 @@
import { t } from '../../util/locale';
import { Entity, Graph } from '../../core/index';
import { Browse } from '../../modes/index';
import { Icon } from '../../svg/index';
import { area } from './area';
import { line } from './line';
import { navigation } from './navigation';
Expand Down
7 changes: 3 additions & 4 deletions test/spec/lib/locale.js
@@ -1,7 +1,7 @@
/* global locale: true */
/* global locale:true, t:false */
/* eslint no-console: 0 */
/*
describe('locale', function() {

describe.skip('locale', function() {
var saved, error;

beforeEach(function() {
Expand Down Expand Up @@ -31,4 +31,3 @@ describe('locale', function() {
});
});
});
*/
4 changes: 0 additions & 4 deletions test/spec/presets/collection.js
@@ -1,8 +1,4 @@
/* global locale: true */
/* eslint no-console: 0 */

describe('iD.presets.Collection', function() {

var p = {
point: iD.presets.Preset('point', {
name: 'Point',
Expand Down

0 comments on commit 747b9f3

Please sign in to comment.