Pacify eslint

This commit is contained in:
Bryan Housel
2017-03-29 12:50:29 -04:00
parent 4c023635f4
commit 7da34f474b
3 changed files with 6 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ import { uiFlash } from '../ui';
/* Creates a keybinding behavior for an operation */
export function behaviorOperation(context) {
export function behaviorOperation() {
var which, keybinding;

View File

@@ -116,7 +116,7 @@ export function uiIntroNavigation(context, reveal) {
}
function inspectTownHall(mode) {
function inspectTownHall() {
if (!isTownHallSelected()) return clickTownHall();
context.on('exit.intro', function() {

View File

@@ -1,6 +1,5 @@
import * as d3 from 'd3';
import { t } from '../../util/locale';
import { utilBindOnce } from '../../util/bind_once';
import { utilRebind } from '../../util/rebind';
import { icon, pointBox, pad } from './helper';
@@ -127,7 +126,7 @@ export function uiIntroPoint(context, reveal) {
function selectedPreset() {
context.on('exit.intro', function(mode) {
context.on('exit.intro', function() {
return chapter.restart();
});
@@ -201,7 +200,7 @@ export function uiIntroPoint(context, reveal) {
function updatePoint() {
if (context.mode().id !== 'select') return continueTo(selectPoint);
context.on('exit.intro', function(mode) {
context.on('exit.intro', function() {
continueTo(rightClickPoint);
});
@@ -248,7 +247,7 @@ export function uiIntroPoint(context, reveal) {
function continueTo(nextStep) {
context.on('enter.intro', null);
context.map().on('move.intro drawn.intro', null);
nextStep()
nextStep();
}
}
@@ -289,7 +288,7 @@ export function uiIntroPoint(context, reveal) {
function continueTo(nextStep) {
context.history().on('change.intro', null);
context.on('exit.intro', null);
nextStep()
nextStep();
}
}