mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Don't use atom.{config,styles} global in Package
This commit is contained in:
committed by
Nathan Sobo
parent
b7d6dd5e8c
commit
c192004b06
@@ -7,10 +7,10 @@ class ThemePackage extends Package
|
||||
getStyleSheetPriority: -> 1
|
||||
|
||||
enable: ->
|
||||
atom.config.unshiftAtKeyPath('core.themes', @name)
|
||||
@config.unshiftAtKeyPath('core.themes', @name)
|
||||
|
||||
disable: ->
|
||||
atom.config.removeAtKeyPath('core.themes', @name)
|
||||
@config.removeAtKeyPath('core.themes', @name)
|
||||
|
||||
load: ->
|
||||
@loadTime = 0
|
||||
|
||||
Reference in New Issue
Block a user