Module names starting with atom_common_ can be loaded by both sides.

This commit is contained in:
Cheng Zhao 2013-04-25 15:36:01 +08:00
parent 70fe77ca34
commit ab4015ef51
2 changed files with 13 additions and 6 deletions

View file

@ -8,9 +8,15 @@
NODE_EXT_LIST_START
// Module names start with `atom_browser_` can only be used by browser process.
NODE_EXT_LIST_ITEM(atom_browser_ipc)
NODE_EXT_LIST_ITEM(atom_browser_window)
// Module names start with `atom_renderer_` can only be used by renderer
// process.
NODE_EXT_LIST_ITEM(atom_renderer_ipc)
// Module names start with `atom_common_` can be used by both browser and
// renderer processes.
NODE_EXT_LIST_END