code style

This commit is contained in:
Feross Aboukhadijeh
2016-08-21 16:54:59 -07:00
parent b79971eea5
commit 0589963eed
2 changed files with 5 additions and 7 deletions

View File

@@ -3,6 +3,8 @@ const fs = require('fs-extra')
const path = require('path')
const parallel = require('run-parallel')
const remote = electron.remote
const {dispatch} = require('../lib/dispatcher')
module.exports = class SubtitlesController {
@@ -11,7 +13,7 @@ module.exports = class SubtitlesController {
}
openSubtitles () {
electron.remote.dialog.showOpenDialog({
remote.dialog.showOpenDialog({
title: 'Select a subtitles file.',
filters: [ { name: 'Subtitles', extensions: ['vtt', 'srt'] } ],
properties: [ 'openFile' ]