electron/atom/browser/api/lib/protocol.coffee

7 lines
195 B
CoffeeScript
Raw Normal View History

app = require 'app'
throw new Error('Can not initialize protocol module before app is ready') unless app.isReady()
2014-04-21 16:33:32 +08:00
protocol = process.atomBinding('protocol').protocol
2015-05-29 21:24:00 +05:30
2013-08-29 20:38:04 +08:00
module.exports = protocol