mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Remove unneeded metadata loading
This is handled by the super class constructor and by the package manager.
This commit is contained in:
@@ -14,11 +14,6 @@ class ThemePackage extends Package
|
||||
atom.config.removeAtKeyPath('core.themes', @name)
|
||||
|
||||
load: ->
|
||||
@measure 'loadTime', =>
|
||||
try
|
||||
@metadata ?= Package.loadMetadata(@path)
|
||||
catch error
|
||||
console.warn "Failed to load theme named '#{@name}'", error.stack ? error
|
||||
this
|
||||
|
||||
activate: ->
|
||||
|
||||
Reference in New Issue
Block a user