Move atom.native to $native

This commit is contained in:
Corey Johnson
2012-03-01 15:42:41 -08:00
parent e51f49f6f5
commit e874512284
12 changed files with 46 additions and 46 deletions

View File

@@ -99,7 +99,7 @@ __expand = (path) ->
return null
__exists = (path) ->
atom.native.exists path
$native.exists path
__coffeeCache = (filePath) ->
{CoffeeScript} = require 'coffee-script'
@@ -107,7 +107,7 @@ __coffeeCache = (filePath) ->
__read = (path) ->
try
atom.native.read(path)
$native.read(path)
catch e
throw "require: can't read #{path}"