From eef2c54ae8d6c6a8a74e29bdcc474f0bbbfd1330 Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Mon, 7 May 2012 15:22:48 -0700 Subject: [PATCH] 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) --- src/stdlib/native.coffee | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/stdlib/native.coffee diff --git a/src/stdlib/native.coffee b/src/stdlib/native.coffee new file mode 100644 index 000000000..9c5c58a5e --- /dev/null +++ b/src/stdlib/native.coffee @@ -0,0 +1,5 @@ +module.exports = +class Native + @alert: (args...) -> $native.alert(args...) + + @moveToTrash: (args...) -> $native.moveToTrash(args...) \ No newline at end of file