mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
💄
This commit is contained in:
committed by
Kevin Sawicki
parent
8c204bb60e
commit
e0a84232c3
@@ -103,13 +103,13 @@ debug = false
|
||||
if debug
|
||||
global.loadCount = 0
|
||||
global.requireTime = 0
|
||||
global.moduleCache = cache
|
||||
|
||||
originalLoad = Module::load
|
||||
Module::load = ->
|
||||
global.loadCount++
|
||||
originalLoad.apply(this, arguments)
|
||||
|
||||
|
||||
originalRequire = Module::require
|
||||
Module::require = ->
|
||||
startTime = Date.now()
|
||||
|
||||
Reference in New Issue
Block a user