mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Native file for $native functions that don't fit anywhere else.
Mostly created so we can make mocks (the pure native methods can't be mocked)
This commit is contained in:
5
src/stdlib/native.coffee
Normal file
5
src/stdlib/native.coffee
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports =
|
||||
class Native
|
||||
@alert: (args...) -> $native.alert(args...)
|
||||
|
||||
@moveToTrash: (args...) -> $native.moveToTrash(args...)
|
||||
Reference in New Issue
Block a user