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:
Corey Johnson
2012-05-07 15:22:48 -07:00
parent 88eda01768
commit eef2c54ae8

5
src/stdlib/native.coffee Normal file
View File

@@ -0,0 +1,5 @@
module.exports =
class Native
@alert: (args...) -> $native.alert(args...)
@moveToTrash: (args...) -> $native.moveToTrash(args...)