Use camelCase not under_score, I forgot it's coffee script.

This commit is contained in:
Cheng Zhao 2013-04-27 19:13:24 +08:00
parent 99f6a5678a
commit 948e50285d
9 changed files with 38 additions and 38 deletions

View file

@ -1,5 +1,5 @@
EventEmitter = require('events').EventEmitter
send = process.atom_binding('ipc').send
send = process.atomBinding('ipc').send
class Ipc extends EventEmitter
constructor: ->
@ -8,8 +8,8 @@ class Ipc extends EventEmitter
process.on 'ATOM_INTERNAL_MESSAGE_SYNC', (args...) =>
@emit(args...)
send: (process_id, routing_id, args...) ->
@sendChannel(process_id, routing_id, 'message', args...)
send: (processId, routingId, args...) ->
@sendChannel(processId, routingId, 'message', args...)
sendChannel: (args...) ->
send('ATOM_INTERNAL_MESSAGE', args...)

View file

@ -1,6 +1,6 @@
EventEmitter = require('events').EventEmitter
Window = process.atom_binding('window').Window
Window = process.atomBinding('window').Window
Window.prototype.__proto__ = EventEmitter.prototype
module.exports = Window