RYTong / emp-debugger

An Atom package for emp debugger.
MIT License
2 stars 4 forks source link

Object.require is deprecated. #130

Closed huntershe closed 6 years ago

huntershe commented 7 years ago

Use remote.Dialog instead of remote.require("dialog")

Object.require (/Applications/Atom.app/Contents/Resources/app.asar/src/electron-shims.js:57:12)
Object.<anonymous> (/Users/sheliwei/.atom/packages/emp-debugger/lib/exports/emp.coffee:12:19)
Object.<anonymous> (/Users/sheliwei/.atom/packages/emp-debugger/lib/exports/emp.coffee:508:4)
Module._compile (/Applications/Atom.app/Contents/Resources/app.asar/src/native-compile-cache.js:109:30)
Object..coffee (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:216:21)
Module.load (module.js:473:32)