mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-26 21:56:13 +02:00
Pacify eslint
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { t } from '../util/locale';
|
||||
import _ from 'lodash';
|
||||
|
||||
export function Field(id, field) {
|
||||
field = _.clone(field);
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { t } from '../../util/locale';
|
||||
import _ from 'lodash';
|
||||
|
||||
export function access(field) {
|
||||
var dispatch = d3.dispatch('change'),
|
||||
items;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { t } from '../../util/locale';
|
||||
import _ from 'lodash';
|
||||
|
||||
export {
|
||||
combo as typeCombo,
|
||||
combo as multiCombo
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { t } from '../../util/locale';
|
||||
|
||||
export {
|
||||
url as text,
|
||||
url as number,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { t } from '../../util/locale';
|
||||
|
||||
export function radio(field) {
|
||||
var dispatch = d3.dispatch('change'),
|
||||
labels, radios, placeholder;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { t } from '../../util/locale';
|
||||
|
||||
export function textarea(field) {
|
||||
var dispatch = d3.dispatch('change'),
|
||||
input;
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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() {
|
||||
});
|
||||
});
|
||||
});
|
||||
*/
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user