hughsk/chrome-location

Support Chromium browser

Open

#7 opened on Dec 22, 2015

View on GitHub
 (2 comments) (2 reactions) (0 assignees)JavaScript (6 forks)github user discovery
help wanted

Repository metrics

Stars
 (19 stars)
PR merge metrics
 (PR metrics pending)

Description

I am using Chromium Version 47.0.2526.73 on Ubuntu 15.10 (64-bit) and thus, I get undefined when requiring chrome-location:

> require('chrome-location');
undefined

To make things work in my case, I just had to change line 8 of index.js like this:

module.exports = require('which').sync('chromium-browser')

Contributor guide