Pacify eslint

This commit is contained in:
Bryan Housel
2016-07-24 17:39:06 -07:00
parent fd0803f89c
commit 747b9f37d5
9 changed files with 9 additions and 10 deletions
+1
View File
@@ -1,5 +1,6 @@
import { t } from '../util/locale';
import _ from 'lodash';
export function Field(id, field) {
field = _.clone(field);
+1 -1
View File
@@ -1,5 +1,5 @@
import { t } from '../../util/locale';
import _ from 'lodash';
export function access(field) {
var dispatch = d3.dispatch('change'),
items;
+1
View File
@@ -1,5 +1,6 @@
import { t } from '../../util/locale';
import _ from 'lodash';
export {
combo as typeCombo,
combo as multiCombo
+1
View File
@@ -1,4 +1,5 @@
import { t } from '../../util/locale';
export {
url as text,
url as number,
+1
View File
@@ -1,4 +1,5 @@
import { t } from '../../util/locale';
export function radio(field) {
var dispatch = d3.dispatch('change'),
labels, radios, placeholder;
+1
View File
@@ -1,4 +1,5 @@
import { t } from '../../util/locale';
export function textarea(field) {
var dispatch = d3.dispatch('change'),
input;
-1
View File
@@ -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';
+3 -4
View File
@@ -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() {
@@ -31,4 +31,3 @@ describe('locale', function() {
});
});
});
*/
-4
View File
@@ -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',