mirror of
https://github.com/atom/atom.git
synced 2026-02-12 23:55:10 -05:00
Move atom.native to $native
This commit is contained in:
@@ -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}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user