hughsk/chrome-location

Support Chromium browser

Open

#7 创建于 2015年12月22日

在 GitHub 查看
 (2 评论) (2 反应) (0 负责人)JavaScript (6 fork)github user discovery
help wanted

仓库指标

Star
 (19 star)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南