mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Kill dead code
This commit is contained in:
@@ -76,18 +76,6 @@ class TextMatePackage extends Package
|
||||
|
||||
scopedProperties
|
||||
|
||||
readObjectFromPath: (path, callback) ->
|
||||
object = null
|
||||
error = null
|
||||
if CSON.isObjectPath(path)
|
||||
object = CSON.readObject(path)
|
||||
else
|
||||
plist.parseString fs.read(path), (e, data) ->
|
||||
error = e
|
||||
object = data[0]
|
||||
error = throw new Error("Failed to load object at path `#{path}`") unless object
|
||||
callback(error, object)
|
||||
|
||||
getTextMatePreferenceObjects: ->
|
||||
preferenceObjects = []
|
||||
if fs.exists(@preferencesPath)
|
||||
|
||||
Reference in New Issue
Block a user