hughsk/chrome-location

Support Chromium browser

Open

#7 aperta il 22 dic 2015

Vedi su GitHub
 (2 commenti) (2 reazioni) (0 assegnatari)JavaScript (6 fork)github user discovery
help wanted

Metriche repository

Star
 (19 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor