Don't make IDWeakMap public API

This commit is contained in:
Cheng Zhao 2015-06-24 13:38:55 +08:00
parent d02413de00
commit 15f350edcb
4 changed files with 2 additions and 6 deletions

View file

@ -1,5 +1,5 @@
EventEmitter = require('events').EventEmitter
IDWeakMap = require 'id-weak-map'
IDWeakMap = process.atomBinding('id_weak_map').IDWeakMap
app = require 'app'
ipc = require 'ipc'

View file

@ -1,5 +1,5 @@
EventEmitter = require('events').EventEmitter
IDWeakMap = require 'id-weak-map'
IDWeakMap = process.atomBinding('id_weak_map').IDWeakMap
v8Util = process.atomBinding 'v8_util'
# Class to reference all objects.

View file

@ -1,3 +0,0 @@
IDWeakMap = process.atomBinding('id_weak_map').IDWeakMap
module.exports = IDWeakMap

View file

@ -33,7 +33,6 @@
'atom/common/api/lib/callbacks-registry.coffee',
'atom/common/api/lib/clipboard.coffee',
'atom/common/api/lib/crash-reporter.coffee',
'atom/common/api/lib/id-weak-map.coffee',
'atom/common/api/lib/native-image.coffee',
'atom/common/api/lib/shell.coffee',
'atom/common/lib/init.coffee',