electron/atom/browser/api/lib/protocol.coffee
2015-08-12 13:30:19 +08:00

6 lines
195 B
CoffeeScript

app = require 'app'
throw new Error('Can not initialize protocol module before app is ready') unless app.isReady()
protocol = process.atomBinding('protocol').protocol
module.exports = protocol