hughsk/chrome-location

Support Chromium browser

Open

#7 aberto em 22 de dez. de 2015

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

Métricas do repositório

Stars
 (19 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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')

Guia do colaborador