mawie81 / electron-oauth2

A library to handle OAuth2 authentication for your Electron app.
MIT License
99 stars 56 forks source link

Syntax error 'Unexpected token {' #8

Closed jeffheifetz closed 8 years ago

jeffheifetz commented 8 years ago

I'm using Node v5.9.1, but it throws a syntax error on https://github.com/mawie81/electron-oauth2/blob/master/index.js#L6.

Would it be acceptable to change it to const BrowserWindow = require('electron').BrowserWindow;

mawie81 commented 8 years ago

Yeah I can do that or if you want to PR feel free 😄

jeffheifetz commented 8 years ago

I've opened #9 to address this

mawie81 commented 8 years ago

Thanks for the PR! Just merged it and published as 2.3.0